Hello!
I have a custom action that executes a vb writing information into a file using the %USERNAME% variable. The file is located in the ProgramFolder therefore the Custom Action needs to be elevated. The problem is, that as a result of the non impersonate custom action the variable %USERNAME% is not resolved as the user executing the installation but as SYSTEM. Is there a possiblity in Vista to solve this?
Thxs in advance
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.
Non Impersonate CA under Vista
Started by
coluhandria
, Jan 06 2011 15:37
2 replies to this topic
Posted 06 January 2011 - 17:12
You can use an immediate custom action to copy the value to a property, and then retrive that property value in your deferred in system context custom action. Look up CustomActionData in help for the required steps (sounds a bit complicated at first but is actually quite simply)
Stefan Krüger
InstallSite.org twitter facebook