cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MSI package cannot create registry key during installation

CChong
By Level 11 Flexeran
Level 11 Flexeran
Hi there,

I have repackaged a VB application with Repackager, and are having problem installing the MSI package through Active Directory onto Windows XP machines when logged in to the Windows as normal user, because it cannot create registry values within HKEY_CLASSES_ROOT.

The registry values can only be created if logged in as administrator, is that some settings that we can set in InstallShield to force the package to install with system administrator privileges?

Thanks in advance.

~Vincent
(3) Replies
CChong
By Level 11 Flexeran
Level 11 Flexeran
Hi Tsung,

Thank you very much for your reply.

I have just gone through all the steps in your reference, and found that the Group Policy on the target machine had already set to "Always install with elevated privileges".

One thing that I should had mentioned earlier, I had another different software packaged in the same way and it was installed successfully on the same machine with the same normal user logged in (i.e. registry keys were created successfully under HKEY_CLASSES_ROOT). This led me to think that my problem was due to the MSI package settings instead of privileges policy on the machine.

One thing I also noticed is that both of my working and non-working packages can picked up the registry keys within HKEY_CLASSES_ROOT during repackaging with Repackager. But when generating the .ISM file from the Repackage, the non-working package will NOT migrate all the registry keys under HKEY_CLASSES_ROOT to the Registry section in the .ISM file, though the missing keys can be found under the Direct Editor section (inside the Class table).

Any of your further advises will be very much appreciated.

Thank you.
For the problems you are having, it is not possible to troubleshoot remotely. Since the 2 packages compared are not the same, there isn't much we can draw from the comparisons, in term of what makes one work, and what makes the other not working.

The next thing to try is, install repackaged version, snapshot, install legacy setup, snapshot, and analyze the differences.

______________________
Tsung-Huang Hsieh
Repackaging and Application Migration using InstallShield AdminStudio