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!

james88shen
Posts: 1
Joined: Wed Feb 14, 2007 4:42 pm

How to put /qinstall switch into .MSI file package?

I am testing the software for packaging the .exe file into .msi file. The software installation need a /qinstall switch come with the installation. I tried to package the software without this switch, it seems installed the software, but when I test it, it won't work. I don't how to package this switch into .msi file. Could somebody help me how to do that? I really appreciated your help.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Let me know if don't understand correctly. You have a setup EXE file and you want to package it using a MSI file?

This is usually done with a repackager and Advanced Installer does not have such a capability yet. This feature is on our TODO list and it will be implemented in a future version (I cannot give you an estimate though).

However an approach that you could use is to add the EXE file in "Files and Folders" page and execute it with a custom action like this:
Switch to "Custom Actions" page and add an "Exe with working dir" custom action under "InstallExecuteSequence->InstallFinalize" standard action (make standard actions visible from "Show Standard Action" toolbar menu). In the "Full Path" field choose the EXE file and type the command line switch. Use "Asynchronous execution, do not wait for return" and (NOT Installed) as "Execution Condition".

Hope this helps.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”