HOW DO I RUN MY SETUP.EXE? - 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!

jodelvalle
Posts: 5
Joined: Tue Aug 18, 2009 9:53 pm

HOW DO I RUN MY SETUP.EXE?

Hi,

I just created a simple MSI package and I guess it is doing what it is supposed to do because when I run it the files that I chose during the creation of the package get installed on installation path I setup. However, the Setup.exe file for my application never runs. Are you confused already? Let me explain what I did:

I have a few xml files I want to modify on all my users, so I was planning to do this using group policy. I created an EXE package that will install the xml files on the user's computer but of course I can't use the exe file with the Group Policy so I need to create an MSI file. The MSI file I created runs and copy the EXE file on the computer but it does not run it which kind of defeat the purpose if I try to use it with GP.

Can someone explain what I am doing wrong? Thanks!

Josue
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: HOW DO I RUN MY SETUP.EXE?

Hi,

Please note that Advanced Installer was designed to create installation packages for applications, not to create MSI wrappers for custom installers. You should instead use Advanced Installer to create an msi that installs your xml files.

However if you need to launch an executable installer you can use the EXE with Working Dir custom action. Place this custom action under the "Install Finalize" Standard Action, and set it as "Asynchronous execution, do not wait for return".

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
jodelvalle
Posts: 5
Joined: Tue Aug 18, 2009 9:53 pm

Re: HOW DO I RUN MY SETUP.EXE?

Hi Gabriel,

Thanks for your quick response.

I don't really need to run an EXE file if I can get the XML files installed using Advanced Installer. I have to install the same XML file in c:\program files\ImageNow6 and C:\Documents and Settings\%username%\Application Data\ImageNow. So I created the ImageNow subfolder under Program Files and Application Data and placed the XML file inside the ImageNow subfolders.

I tried to install them but I am getting the following error:

Product: MyInScanXML -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2727. The arguments are: APPDIR, ,


I am trying to deploy this before Friday Aug 21th. So any help will be really appreciated.
jodelvalle
Posts: 5
Joined: Tue Aug 18, 2009 9:53 pm

Re: HOW DO I RUN MY SETUP.EXE?

My directory structure was not correct. It is working now. Thanks for your help.

Return to “Common Problems”