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!

PA_Developer
Posts: 2
Joined: Wed Apr 16, 2014 4:12 pm

Bootstrapper question

Hi,

I am using Advanced Installer to create an exe bootstrapper.

We use an inhouse mapping application(built in VS2012 .net 4.0) that requires ArcReader 10.2(free software) from ESRI.

Our bootstrapper,called ArcReaderInstall, uninstalls old versions of ArcReader and installs 10.2 as a prerequisite. I have added the bootstrapper to the windows SDK folder and it shows up in the VS2012 prerequisite list and everything runs great.

The issue I have is that when I run the setup for my app on a clean PC, no ArcReader, I end up with 3 things installed: my app, ArcReader 10.2 and ArcReaderInstall. Its not a big deal since ArcReaderInstall does nothing but it shows up in the control panel->programs and features list.

Is there a way to prevent ArcReaderInstall from creating this entry or a way to uninstall automatically when finished?
Seems like it should be simple but I can't figure it out.

thanks in advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Bootstrapper question

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you should uncheck the "Register product with Windows Installer" option from "Product Details" page.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PA_Developer
Posts: 2
Joined: Wed Apr 16, 2014 4:12 pm

Re: Bootstrapper question

Brilliant,
I knew it had to be something simple I was overlooking.

Thanks for the quick reply

Love the product - simplifying my work on a daily basis
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Bootstrapper question

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kristyglow
Posts: 2
Joined: Mon Apr 21, 2014 8:15 am

Re: Bootstrapper question

Hi,

Can you please guide me to set ArcReader as prerequisite? I tried to add custom action and run msi file, but it won't run.
I try to make an installer for our inhouse app with ArcReader as prerequisite, but the ArcReader is in .msi format.
I really need to configure the installer to run as exactly as the condition you described.

Please help.

Many thanks in advance.


PA_Developer wrote:Hi,

I am using Advanced Installer to create an exe bootstrapper.

We use an inhouse mapping application(built in VS2012 .net 4.0) that requires ArcReader 10.2(free software) from ESRI.

Our bootstrapper,called ArcReaderInstall, uninstalls old versions of ArcReader and installs 10.2 as a prerequisite. I have added the bootstrapper to the windows SDK folder and it shows up in the VS2012 prerequisite list and everything runs great.

The issue I have is that when I run the setup for my app on a clean PC, no ArcReader, I end up with 3 things installed: my app, ArcReader 10.2 and ArcReaderInstall. Its not a big deal since ArcReaderInstall does nothing but it shows up in the control panel->programs and features list.

Is there a way to prevent ArcReaderInstall from creating this entry or a way to uninstall automatically when finished?
Seems like it should be simple but I can't figure it out.

thanks in advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Bootstrapper question

Hello,

In order to uninstall a possible "ArcReader" installation you can use your own custom action added after "Wizard Dialogs Stage -> Searches" actions group. Also, you can add a search, in our "Searches" page, which will look for a previous installation of ArcReader and use the property associated with the search (search name) to condition the above custom action execution. Then, in order to install the new version of ArcReader as a prerequisite you can simply add it as a feature-based prerequisite.

Let us know if this helped, otherwise please give us more details about your installation requirements (maybe exemplify).

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

Return to “Building Installers”