Hi all:
I have recently been tasked with creating an installation package using InstallShield 2009. I am new to this, so this may be my first question of many.
Our software consists of a desktop executable and a web service. Several components require the assignment of some limited permissions for ASP.NET and NETWORK SERVICE. When I add these permissions, however, the default permissions are wiped out and, while the installation builds and runs, the application won't function. Thinking I had solved the problem, I explicitly specified permissions for Administrator, Users and SYSTEM in addition to ASP.NET and NETWORK SERVICE. Now, when I check the permissions post-install, ASP.NET is designated as the "Machine Account". Needless to say, the product will not function with these settings.
So, in a nutshell, I need to add permissions for ASP.NET and NETWORK SERVICE without overriding the default permissions for Administrator, Users and SYSTEM. Any advice will be greatly appreciated.
Cheers,
Rob
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.
Speaking of permissions...
Started by
ktrout75
, Aug 12 2008 14:45
2 replies to this topic
Posted 14 August 2008 - 07:13
Hi Rob,
there´s no way to set permissions via Installshield without overriding the current permissions i guess. But you can set your permissions by calling "cacls.exe".
"/E" is what you are looking for
For me it works!
there´s no way to set permissions via Installshield without overriding the current permissions i guess. But you can set your permissions by calling "cacls.exe".
"/E" is what you are looking for
For me it works!
Posted 15 August 2008 - 10:26
Actually this is a limitation in Windows Installer's LockPermission table.
Stefan Krüger
InstallSite.org twitter facebook