Hi and welcome to Advanced Installer forums.
Thank you for your interest in Advanced Installer.
In order to achieve what you want you can follow the steps below:
- create a BAT file that stops the services you need. For instance:
- go in the "Files and Folders" page and add that file as a temporary file using the "Temporary Files" toolbar button
- go in the "Custom Action" page and add a "Launch file" custom action after the "Install Execution Stage -> Paths Resolution" action group
- right-click in the "File to launch" field, select "File..." and choose your BAT file from the dialog that appears
- go in the "Files and Folders" page and add the files that you want to copy
- go to their properties dialog and in the "
Registration" tab select the "Auto register file" option, then the "Extract registration info from native library" option with synchronization set to "Enabled"
- go in the "Services" page and add a new "Control Operation" for each service
- write the name each service in the "Service name" field, then check only the
"On Install: Start" and
"On Uninstall: Start" options
- build and run the project
Let us know if this helped, otherwise give us more details about your scenario.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging