Hi,
I am evaluating AI (Pro) 9.6 build 47481.
I have several VB6 ActiveX out-of-process (.exe) servers. It appears self-registration is the only option. If I try to set the "Auto register" -> "Extract registration" property, it fails to extract any information.
So I created a custom action to register the control on install, and a custom action to unregister on uninstall.
By trial and error, I found that I had to move the install action to after the "Finish Execution" stage so that the file and its dependencies were already copied into the install folder before I tried to install it. does this seem correct? The install custom action looks like this:
Source Path: APPDIR\SWCOVR32.exe
Source Type: Executable (*.exe)
Command: /regserver
Where should I put the uninstall action? It obviously needs to run prior to any of the files being removed from the disk. After "Preparing"? Is after "Remove Resources" too late?
Source Path: APPDIR\SWCOVR32.exe
Source Type: Executable (*.exe)
Command: /unregserver
Thanks.
-John Reilly.
FOLLOW US
Get the latest news in Application Packaging