Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

setting registry privilege does work ?


1 reply to this topic

tktk

tktk
  • Full Members
  • 24 posts

Posted 18 November 2004 - 08:35

Hi all.
I'm working on Basic MSI project on InstallShield X.

I have to set full-access permission to directory [INSTALLDIR] and registry
HKEY_LOCAL_MACHINE\Software\<VenderName>\<ProductName> for the local
user of Users group.

After installation, the [INSTALLDIR] get full-access permission but the registry did not.

I tried as follows:
1. Select the registry key in [System]->[registry] view,
and select privilege in right-click menu.
2. added new item of
Domain : (leave empty)
User : Users
and set full-access checked.

Basically the same procedure for [INSTALLDIR].

The installation checks Administrative privilege so the user must have Admin privilege on installation.

Anyone successes to set privilege to registry ? Or something wrong in my procedure ?
Please help, thanks in advance.




tktk

tktk
  • Full Members
  • 24 posts

Posted 22 November 2004 - 01:35

Hi again, I have resolved the issue.

The detailed situation for the registry was as follows:
CODE

HKLM
 +- Software
       +- <Vender>
             +- <ProductName>
                  +- <Version>
                       +- subkey1
                       +- subkey2

I have tried to set permission to <ProductName> key and have failed.
Now I tried to set permission to subkey1 and subkey2, and this was done successfully.
And <ProductName> and <Version> keys, which was created by my installation, got the same permission as subkeys. This behaviour is consistent with InstallShield KB Q107639:
http://support.insta...ticleid=Q107639

I'm not sure why IS (or WI?) behaves such that, but the result is fine.