We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

[Help] Change some executions and a problem.

Hello friends.

I have an installer, but I have a problem.

When finished installing, I have put it to the user to choose whether to run the product once you finish the wizard, but it is not ...

When you reach the last screen, begins to run the file that tells you not want him to do this until this box is not closed.


2) When I make a product migration for example version 1.1 to version 1.2 I do not want the file to indicate you through the installation, that is, if you are doing a migration run a separate file with a command to execute ¿It would be possible?

I mean, when the user installs the product, I say for example running MyApp.exe

Now, if that is a migration from version 1.1 to version 1.2 or higher, for example MyUpgrade.exe run with a command that tells you.

Would it be possible?

Thanks I hope your answers. :)
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: [Help] Change some executions and a problem.

Hello, could you help me?

Not how to solve my problem. Thank you
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: [Help] Change some executions and a problem.

Hi,
When finished installing, I have put it to the user to choose whether to run the product once you finish the wizard, but it is not ...
When you reach the last screen, begins to run the file that tells you not want him to do this until this box is not closed.
I'm not sure why you encounter this problem. Do you try to launch an application when the installation is finished and it does not work? Can you send me a screenshot with the error?
2) When I make a product migration for example version 1.1 to version 1.2 I do not want the file to indicate you through the installation, that is, if you are doing a migration run a separate file with a command to execute ¿It would be possible?
I mean, when the user installs the product, I say for example running MyApp.exe
Now, if that is a migration from version 1.1 to version 1.2 or higher, for example MyUpgrade.exe run with a command that tells you.
Would it be possible?
I'm afraid I do not fully understand your scenario. Do you want to have a file "MyUpgrade.exe" that calls the "MyApp.exe" file with a command line during the migration? Can you give me more details?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: [Help] Change some executions and a problem.

Hi, thanks for responding.

1) There is no mistake, if not throwing the file when it has been installed or uninstalled. I want to run it only when I finish the final installation window.

2) When the installation is finished, I run a file. I want to make is that if you are doing a migration, I run a different file with a command.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: [Help] Change some executions and a problem.

Hi,
1) There is no mistake, if not throwing the file when it has been installed or uninstalled. I want to run it only when I finish the final installation window.
In order to achieve this, you can go in the "Dialogs" page, select the "ExitDialog" dialog, go in the "Finish Actions" tab and use the "Launch Application" support.
2) When the installation is finished, I run a file. I want to make is that if you are doing a migration, I run a different file with a command.
If you want to run different files for new install and migration, you do not need to use the option described above. You just need to go in the "Custom Actions" page, add two "Launch file" custom actions "without sequence" which run the files that you need and set the appropriate conditions for them (i.e. NOT OLDPRODUCTS - for new install or OLDPRODUCTS - for migration).

Then you need to select the "Finish" button of the "ExitDialog" dialog and add those custom actions as published events on that button.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”