Workaround for no custom prompts - 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!

w_bingham
Posts: 10
Joined: Fri Feb 18, 2011 8:36 pm

Workaround for no custom prompts

I am currently building a new installer for a web based silverlight app that will be deployed to mulitple target systems and needs to have a custom web.config installed depending on the target platform. I'd love to have a combobox or radio button selection the user can select the correct target environment but understand that for some reason this basic function isn't available in the professional licensed product that my company has purchased. We are a small dev and can't afford an enterprise license so need to figure out a way to have the install customized depending on the target machine another way. There will only be 4 different targets so the custom UI selection would have been perfect but am wondering if another solution might work using the professional license. Any suggestions are appreciated.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Workaround for no custom prompts

Hello and welcome to the Advanced Installer Forums,

Actually, this can be done automatically and there is no need for any user interaction to specify the target machine's OS.
Here are a couple of articles that will help you achieve this functionality with a Professional project:
http://www.advancedinstaller.com/user-g ... -name.html
http://www.advancedinstaller.com/user-g ... stall.html

Unfortunately, there is no way to customize the dialogs with the Professional edition. This feature is available only from the Enterprise edition.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
w_bingham
Posts: 10
Joined: Fri Feb 18, 2011 8:36 pm

Re: Workaround for no custom prompts

This might work but I need to be able to do something like install a particular version file based on the computername property. Can you help me with the basics of how that might be accomplished?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Workaround for no custom prompts

Hi,

The first thing you need to do is organize your files into different components from the Organization Page. Just follow this link to find out how.
Then, you can condition each file's component in the way you see fit, including the ComputerName property. This property is set to the computer name of the target machine.

If you have any trouble implementing this you can also see the tutorials from my previous post for hints.
Since you are new, reading and following our tutorial section from the user guide will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
w_bingham
Posts: 10
Joined: Fri Feb 18, 2011 8:36 pm

Re: Workaround for no custom prompts

Thanks for the suggestions. I have successfully implemented this method for installing custom filesets based on computname property in my project. This is most helpful.

Return to “Common Problems”