Hello everyone,
I have a setup that with CA, say CA1. CA1 tries to modify a text file but fails to even open the file. This text file is installed with the product and CA1 is called in ExecuteSequence after InstallFinalize.
Is there any workaround so that CA1 can modify text file???
NOTE: It happens only when installation is done in Program Files folder.
I guess that it is due to UAC.
thanks,
ankur tyagi
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.
Modifying a file after installation
Started by
antyagi
, Dec 20 2006 08:52
3 replies to this topic
Posted 21 December 2006 - 10:21
Change your custom action to "deferred in system context" and sequence it between InstallFiles and InstallFinalize.
Stefan Krüger
InstallSite.org twitter facebook
Posted 21 December 2006 - 13:03
Right, this is what I understand.
A fellow suggested to modify the launcher, setup.exe, manifest and give it requestedExecutionLevel as Highest. I tried and this also worked but I am not sure if it is a good and clean way to solve this problem?
A fellow suggested to modify the launcher, setup.exe, manifest and give it requestedExecutionLevel as Highest. I tried and this also worked but I am not sure if it is a good and clean way to solve this problem?
ankur tyagi
Posted 22 December 2006 - 05:02
I would definitely use Stefan's approach for this!
Regards
-Stein Åsmul
-Stein Åsmul