I need to generate an msi for Group Policy deployment. Supposedly, it should be possible to run pgplwiz.exe from the command line for use within build scripts.
However, on my system, pgplwiz.exe ALWAYS displays the wizard dialog.
I have followed the instructions from the IA9 online help. 5 parameters: path to IA9 generated exe, group policy default install args, output file of generated msi, display name, version.
I really need this to run unattended for automated builds.
What am I doing wrong?
Thanks,
Group Policy Wizard (pgplwiz.exe) from command line
I've found that if any of your input parameters are not to pgplwiz's liking, instead of exiting with an error code, it displays the wizard. If you're build is running as part of an automated nightly process, this will block the entire process.
Make sure the paths you're pointing to exist and that all of the other parameters are eclosed properly in quotes. I had to mess around with it for a little while to make it happy. For reference, here is how my batch script calls pgplwiz:
Make sure the paths you're pointing to exist and that all of the other parameters are eclosed properly in quotes. I had to mess around with it for a little while to make it happy. For reference, here is how my batch script calls pgplwiz:
Code: Select all
"C:\\Program Files\\InstallAware\\InstallAware 9\\group policy\\pgplwiz.exe" "C:\\Path\\to\\Solution\\dir\\build\\Release\\Setup\\Release\\Single\\My_Installer.exe" " " "C:\\Path\\to\\Solution\\dir\\build\\Release\\Setup\\Release\\Single\\My_Installer.msi" "My Product" 4.0
using InstallAware 9 R2 (Build Moya.sp3.070910)
I'm sure the command arguments are correct.
I've tried two different ways.
First way: Filling out the dialog completely, then cutting and pasting the values into the cmd window, enclosing the parameters in double quotes to make sure spaces are not a problem. Hitting [OK] on the dialog to make sure it runs properly. Then, running it from the command line fails (i.e., just brings up the wizard dialog).
Second way: Using filename completion in the cmd window to enter path values. Also fails.
I've tried two different ways.
First way: Filling out the dialog completely, then cutting and pasting the values into the cmd window, enclosing the parameters in double quotes to make sure spaces are not a problem. Hitting [OK] on the dialog to make sure it runs properly. Then, running it from the command line fails (i.e., just brings up the wizard dialog).
Second way: Using filename completion in the cmd window to enter path values. Also fails.
Aaron

