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!

PriSim
Posts: 2
Joined: Thu Feb 07, 2019 6:24 am

Call to another setup

Hello,

I hope all of you doing fine, i want to ask some questions about installation making with adv. installer.

Is it possible that , i can call another pre compiled setup executable file before my new installation will execute?
e.g: Setup.exe (from any other source) will run before my new installation file, after completion of that setup.exe my new setup file will run accordingly (like a prerequisite)

Also can i rename old executable file and place a new executable there ?

Please help me regarding this , as i googled it many times but found nothing.

Thanks

PS: Sorry if i am posting in wrong section, or abiding by any forums rule.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Call to another setup

Hello and welcome to our forums,
Is it possible that , i can call another pre compiled setup executable file before my new installation will execute?
I think you can make use of our predefined support for pre-install prerequisites. Pre-install prerequisites are additional packages that are installed before the MSI is launched.

For more information about prerequisites, please have a look on our "Add prerequisites" section of our "Professional Installation" article.
Also can i rename old executable file and place a new executable there ?
I am not quite sure what you want to achieve here. Could you please give me some more details (maybe exemplify)?

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PriSim
Posts: 2
Joined: Thu Feb 07, 2019 6:24 am

Re: Call to another setup

Hi ,

Thanks for your reply.

Basically i want to install a new setup file over a old installation, That setup change many things that i don't care , also i want those new changes, but as well as there are some old files that i need to be remain same in old installed directory. So i decided to make a new setup file for my convenience.
Now I want is
Run New Setup file automatically within My generated setup file.
After completion of that setup,
My setup continue and rename some files within installed directory,
Finish.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Call to another setup

Hello,
Run New Setup file automatically within My generated setup file.
As I have already stated, you can achieve that through our predefined support for "Prerequisites".
After completion of that setup,
My setup continue and rename some files within installed directory
This can be done through a custom action. For instance, you can create an "Inline PowerShell Script" which can rename the files that you want renamed.

For more information about this, you can have a look on the "Rename folder if exists" thread, which is similar and where I have explained for another user how to achieve this.

Hope it helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”