Hi All:
I need to run some DOS commands the first time the user uses the application. These commands update data which is different for each user. How can I acheive this in WISE?
Thanks,
Steve55
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.
Run script duirng self heal
Started by
Steve55
, Jun 23 2005 20:32
1 reply to this topic
Posted 24 June 2005 - 16:54
One way is to use Microsoft's "ActiveSetup" feature. this involves:
* Write this key during installation "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]StubPath msiexec /fup [ProductCode]"
* Insert a custom action into your MSI that will run the necessary commands. To ensure this action only runs once per user you can sequence it with (Installed) - In this case it will not run for the user running the actual setup itself.
After installation the scripts will run on the first logon for each user.
* Write this key during installation "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]StubPath msiexec /fup [ProductCode]"
* Insert a custom action into your MSI that will run the necessary commands. To ensure this action only runs once per user you can sequence it with (Installed) - In this case it will not run for the user running the actual setup itself.
After installation the scripts will run on the first logon for each user.
Regards
-Stein Åsmul
-Stein Åsmul