Update/create instance based on user input in custom dialog - 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!

rn-pro
Posts: 48
Joined: Thu Jun 16, 2011 10:27 am

Update/create instance based on user input in custom dialog

Hello,

Is it possible to decide at install time, based on the input the user provides in a custom dialog, using eventually a custom action if the current installation is going to create a new instance or simply update an existing instance?

Thank you very much,
Razvan
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Update/create instance based on user input in custom dia

Hello Razvan,

Unfortunately, this is not supported because those fields are pseudo-formatted. Can you please specify why do you need this functionality at install time so we can perhaps provide a workaround for you?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rn-pro
Posts: 48
Joined: Thu Jun 16, 2011 10:27 am

Re: Update/create instance based on user input in custom dia

Hi Mihai,

I'm creating a Setup for an ASP.NET application which will be installed by a lot of customers.
Some of the customers will need to install several instances of our application on the same IIS-Server. Each instance will habe its own IIS-website, IIS-virtual-directory, configuration-files, database and so on. There is a customer which will need at least 15 different instances (they are using 15 different databases already.).

In the case the customer decides later on to repair (modify) one of the instances he only gets in "Control Panel" a list of instances which cannot show him any information about website, database or whatever install-time information he used to configure that instance. He won't be able to find the instance which is using the website "Customer-Docs" for example (name used by the customer, no ideea at build time what is important for him!). Would be really nich if we could help him and assign to the instances some helpfull names, created at install time.

Thank you very much,
Razvan
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Update/create instance based on user input in custom dia

Hi Razvan,

Starting with version 8.4, my colleagues from the development team have implemented the functionality that will allow displaying the name of the installing instances.

You can assign instance names in correspondence with their IIS settings at build time and during install the user will be able to see those names of the instances. I am not sure why you need the names modified at install time, can you please be more specific ?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rn-pro
Posts: 48
Joined: Thu Jun 16, 2011 10:27 am

Re: Update/create instance based on user input in custom dia

Hi Mihai,

Thank you very much for your quick answer. I think the version 8.4 will be really nice if it's going to improve the "Multiple Instances" functions.

In my case, the customer has the possibility to choose one existing IIS-Website or to create a new one at install time. This name is unfortunatelly unknown at build time and that's why I suppose it cannot be used to configure the instance name.

With best regards,
Razvan
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Update/create instance based on user input in custom dia

Hi Razvan,
In my case, the customer has the possibility to choose one existing IIS-Website or to create a new one at install time. This name is unfortunatelly unknown at build time and that's why I suppose it cannot be used to configure the instance name.
This would imply changing the Product Name at install time, which is not supported by Windows Installer.

The only way to change the Product Name at install time would be to run a .MST transform file on the .MSI before it's installed on the client's machine. Here is an article that explains this and can be extended for any installation package, not only for Office.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”