Got a problem you cannot solve? Try here.
binkle
Posts: 10 Joined: Wed Sep 19, 2007 10:35 am
Location: Germany
Contact:
Post
by binkle » Mon Dec 17, 2007 8:56 am
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
Alex_Ronquillo
Site Admin
Posts: 364 Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:
Post
by Alex_Ronquillo » Mon Dec 17, 2007 5:18 pm
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
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
binkle
Posts: 10 Joined: Wed Sep 19, 2007 10:35 am
Location: Germany
Contact:
Post
by binkle » Wed Jan 02, 2008 10:35 am
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?