dolamite
Posts: 11
Joined: Tue Jul 31, 2012 3:46 am

create a MSI wrapper over EXE installation files?

I would appreciate some help I know I'm missing something very simple ... I'm using the Tutorial http://www.advancedinstaller.com/user-g ... r-exe.html ... everything goes fine until I get to the "Create a .BAT file with the following content and add it in the Files and Folders Page:" which I do --> installfile.bat the problem comes in with "In the same folder, using the toolbar or context menu, create a text file update for the .BAT file". This "file updater" should include a single replace operation ... the "file updater" no matter what I do stays grayed out ... what am I missing because I need to execute my .exe to have them installed ....thanks in advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: create a MSI wrapper over EXE installation files?

Hello,

First of all I apologize for this inconvenient. Please keep in mind that our "Update TXT files" feature is available only in an Enterprise or higher project type.

However, in order to achieve what you want you can proceed like this (using a Professional project type):
- Go to "Files and Folders" page and add the related .EXE installers (i.e. one.exe, two.exe and three.exe) in the "Application Folder".
- Create a .BAT file (i.e. My_Batch.bat) with the following content and add it in the "Files and Folders" page:

Code: Select all

%1one.exe
%1two.exe
%1three.exe
- Go to "Custom Actions" page and add a "Launch file or open URL" custom action with sequence after "Install Execution Stage" -> "Finish Execution" action group like this:
  • Command: "[#My_Batch.bat]" "[APPDIR]"
- In the "Execution Properties" group on the right page make sure you choose the "Asynchronous execution, do not wait for return" option. Also enable only the "Install" option from the "Execute Sequence Condition" group.
-Build and run your project.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”