How to "just run executeables" without installing them? - Advanced Installer Community

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!

fadattf
Posts: 3
Joined: Tue Feb 17, 2009 3:52 pm

How to "just run executeables" without installing them?

Hi!

A very common task for us is to run executeables on client PCs.

Eg. I have one exe file and one msi file.
They both have to run (with some parameters) one after the other.

The perfect way would be to say Advanced Installer:
- take the files and combine them into one msi
- when executed (the main setup created by AI) extract the exe & msi to a tempory directory and execute them as said in the Installer (with parameters and one after the other).
- when finished, delete the temporary files and finish.

Do not:
- create a directory on the clients pc (programm files/application directory) and copy the files there before executing them
- create a startmenue and/or shortcut.

So I just want to create a very easy and no complex setup.

What is the best way to archive that with advanced installer. I hope someone can give help me out.

Regards,
Daniel
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to "just run executeables" without installing them?

Hi Daniel,

Please note that Advanced Installer was designed as a tool for authoring installation packages for applications. Therefore, Advanced Installer will create a MSI-based installation package which does one or more tasks before or after it installs the files in it. The User Guide contains a tutorial which may help you create a MSI.

Since the MSI is the center or the installation, the custom EXE can be launched before or after the installation starts. For example, you can use a "New Attached Custom Action" in the Custom Actions page to launch the EXE. Based on the moment in which you need to launch the EXE, you can schedule it under a specific standard action.
The perfect way would be to say Advanced Installer:
- take the files and combine them into one msi
- when executed (the main setup created by AI) extract the exe & msi to a tempory directory and execute them as said in the Installer (with parameters and one after the other).
- when finished, delete the temporary files and finish.
By using an Attached custom action the EXE will be included in the MSI. Also, the EXE will run from a temporary location which is removed when the install is finished.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fadattf
Posts: 3
Joined: Tue Feb 17, 2009 3:52 pm

Re: How to "just run executeables" without installing them?

Hi Cosmin!

Thanks for that info - I'll give that a try.

Daniel
fadattf
Posts: 3
Joined: Tue Feb 17, 2009 3:52 pm

Re: How to "just run executeables" without installing them?

Prolem solved - see below
Ok, here is the problem.

I just made a test wie some batch files (with copy jobs) to see who that works:

- new project
- add 2 .bat files to "Application Folder"
- added custom action for them
- tested it out.

The execution of the two bat files works perfect, BUT there has been created the folders "your company\your application" where the two bat files stay even after the installation.
I don't need the new folders and also I want the files to be deleted after the setup.

When I try to add "temporary files" to the Application Folder the files are not selectable at the custom action.

Update:
When I add the files to the "Windows Volume\Temporary" no folders are created.
That seems to work for me!

Return to “Common Problems”