Page 1 of 1

BUG: pgplwiz.exe creates corrupt msi file

Posted: Mon Dec 17, 2007 8:56 am
by binkle
Hi,
like to provide msi file so I decided to use pgplwiz.exe to create them.
But the resulting msi does not install correctly although the exe does.
I call pgplwiz.exe wit no special arguments:

Code: Select all

pgplwiz.exe "Setup.exe" " " "Setup.msi" "My Setup" " ""
On installing the msi I get errors like:

Code: Select all

Error 1406. Could not write value VersionMajor to key \\Products\\852F6F11BC410474C8452F350F6F3154\\InstallProperties. System error . Verify that you have sufficient access to that key, or contact your support personnel.
or

Code: Select all

ALLUSERS property is not 1 - this MSM cannot be used for a per-user or fallback-to-per-user install 
Shouldn't the msi behave like the original exe?

Greetings Harry

Posted: Mon Dec 17, 2007 5:18 pm
by Alex_Ronquillo
If you carefully read Topic "Group Policy Wizard", subtopic "Using the Group Policy Wizard from the Command Line" it reads:
The wizard requires exactly five command line parameters in the correct order.
It may not be obvious, but the version number must be specified. Also, if you used the line you specified,
pgplwiz.exe "Setup.exe" " " "Setup.msi" "My Setup" " ""
then you used an extra quoteation mark at the end

Posted: Wed Jan 02, 2008 10:35 am
by binkle
Ah,
thanks setting the version number (2.2.0.26) fixed that problem,
but now I get
1: ALLUSERS property is not 1 - this MSM cannot be used for a per-user or fallback-to-per-user install
what does this mean?