Unattended install fails... registry permissions?

Got a problem you cannot solve? Try here.
geraldsa
Posts: 1
Joined: Thu May 31, 2007 7:13 am

Unattended install fails... registry permissions?

Postby geraldsa » Thu May 31, 2007 8:01 pm

Hi!

I would like to be able to create an MSI package that installs a piece of software on a Vista system automatically without any user intervention (i.e. for Enterprise installation). i.e. "file.msi /qn"

Unfortunately, with the MSI package I build using Installaware 6.6, this doesn't seem to work... based on the logfiles that the MSI package generated, this seems to be the cause of the problem:

...
MSI (s) (44:98 ) [14:10:52:187]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\\InstallAware,,BinaryType=0,)
MSI (s) (44:98 ) [14:10:52:187]: Executing op: RegAddValue(Name=InstalledByGpl,Value=#1,)
MSI (s) (44:98 ) [14:10:52:187]: Note: 1: 1401 2: HKEY_LOCAL_MACHINE\\SOFTWARE\\InstallAware 3: 5
MSI (s) (44:98 ) [14:10:52:187]: Note: 1: 2205 2: 3: Error
MSI (s) (44:98 ) [14:10:52:187]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1406
MSI (s) (44:98 ) [14:10:52:187]: Note: 1: 2205 2: 3: Error
MSI (s) (44:98 ) [14:10:52:187]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
<b>MSI (s) (44:98 ) [14:10:52:187]: Product: Code Counter Pro -- Error 1406. Could not write value InstalledByGpl to key \\SOFTWARE\\InstallAware. System error . Verify that you have sufficient access to that key, or contact your support personnel.

Error 1406. Could not write value InstalledByGpl to key \\SOFTWARE\\InstallAware. System error . Verify that you have sufficient access to that key, or contact your support personnel.</b>
MSI (s) (44:98 ) [14:10:52:234]: User policy value 'DisableRollback' is 0
MSI (s) (44:98 ) [14:10:52:234]: Machine policy value 'DisableRollback' is 0
Action ended 14:10:52: InstallFinalize. Return value 3.
...


Note: I noticed that running in full GUI installation mode, the program installs properly (as long as the user keeps on "Allow"ing the program access to the system internals via the security dialog box). The same MSI also works without problems on Windows XP.

Can anyone help me on how to do this? Is there a switch or setting or flag that I must set to allow this to push through without user intervention somehow? I can't seem to find a solution to this in the help files anywhere.. :(

Please help!

Thanks!

- Gerald

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Sat Jun 09, 2007 1:04 pm

The msi generated by IA using the group policy wizard can only be depployed by the group policy wizard. If you are trying to run the msi that is generated in an uncompressed build it will fail all the time you need to run the setup executable.

Are you trying to do this from the Group Policy wizard?
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 128 guests