Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

fsdExample.ps1 is a powershell script provided that creates a GUI and runs the selected msi's. A few variables are defined at the top that can be used to customize the script's behavior.



The script is essentially controlled by the $installs array. In this sample, the first row needs to be a mandatory install as the following installs use the registry settings from this first install to pass to the subsequent installs.

...

The "/qb" parameter creates a basic user interface that will show progress but not prompt for input.

The $packageLang and $xplatform are used for finding/reading the registry entries.

The dialog created by this script looks like this:

Image Modified

If the script detects an install has been run before, the checkbox will look like:

Image Modified

The install will run again in repair mode or, if input is enabled, will prompt to remove/repair if the install is not an upgrade.

...

* There are many other tools also available to convert batch files into executables.

Image Modified

The script m.bat is a simple windows batch file used to 'compile' the batch file.