Install a simple exe file when checkbox is checked - 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!

sOliver
Posts: 3
Joined: Fri Nov 13, 2009 12:44 am

Install a simple exe file when checkbox is checked

Hi,

first of all - AdvancedInstaller is a great tool! keep up the good work.
What I want to do is pretty simple, but AI is a little bit complex I guess.

I'd like to create an installer and during the installation I want a checkbox.
If the checkbox is checked then install the attached exe file.

I used the wizard to attach the file and it's adding the exe right under "InstallExecuteSequence" --> "Installer" and not under "Custom Actions".
I tried both but I am still receiving this:


Image

What am I supposed to do about it? I'm using Windows 7 x64

All I want to do is to execute this exe file...

Any input appreciated. Some example files would help people here so much. It would also help to have different forum categories I believe.
sOliver
Posts: 3
Joined: Fri Nov 13, 2009 12:44 am

Re: Install a simple exe file when checkbox is checked

My exe may not be a prerequisite. It's totally optional.

Anyway, I guess "Launch as admin" is required

Important: I can't add "Run As Admin" as defered and I can't add it to "Install"


Links:
Checkbox ==> http://www.advancedinstaller.com/user-g ... ialog.html
3rd-party .exe as Admin => http://www.advancedinstaller.com/forums ... f=2&t=9993



I tried this:
[SystemFolder]cmd.exe /C runas /user: localmachinename \administrator "[APPDIR]updater.exe" as suggested in another thread and added it to a CustomAction "APPDIR".

Then I added a DoAction to the WelcomeDialog to run the APPDIR. I'm getting the same error.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Install a simple exe file when checkbox is checked

Hello Oliver and welcome to Advanced Installer Forums,

Please send your .aip project file to support at advancedinstaller dot com so we can further investigate the issue.

Thank you,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”