Hi Asher,
When I press that button on my new dialog the executable would not run.
You are trying to execute during "InstallUISequence" (when installation dialogs are shown) and in this stage your files are not copied on the target machine.
In this case you can use a static DLL or you can add your files as temporary files. In this way the files are copied on the target machine after the InstallUISequence -> MigrateFeatureStates standard action and removed after InstallExecuteSequence -> InstallFinalize.
I suspect that the reason is that the DLLs are not available at this point since the files were not copied to the target directory yet.
Yes ,it is correct. It must be scheduled after the files have been deployed on the target computer.
Another solution could be to place the custom action under InstallExecuteSequence -> InstallFiles standard action after the files are copied.
The custom action that you are using should be set as "Deferred with no impersonation" in the
Custom Action Properties page.
Please note the custom action is executed automatically after "InstallFiles" stage and not when you press the button.
Best regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
FOLLOW US
Get the latest news in Application Packaging