Have install process that needs to cater for three options:
1) Install c:\App
2) Upgrade from c:\App
3) Install from c:\App and copy files from c:\Program Files\Company\App
Have created a file Search that looks for version of pre-install application file and users these values int custom actions. I then call a different custom action depending on the search values.
Options (1) and (2) works OK and while I can get (3) to install OK I cannot copy files from C:\Program FIles\Comapny\App to new c:\App.
The vbscript I have created works (or says it does by giving Message Box which I have placed in the script but the files are copied over by the install process. Script works OK if I run it manually from windows,
I have tried a custom action on InstallFinalize and Commit and Install under InstallExecuteSequence.
Where can I place this script so the files are copied after the install process. I also have a program which runs under InstallFinalize no problems.
Thanks
Brian
FOLLOW US
Get the latest news in Application Packaging