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!

cyron1
Posts: 4
Joined: Tue Jan 20, 2015 5:54 am

silent install

Hi all

I am trying to install a web site using advanced installer from a command line. As such, I pass in parameters that include the AppPool name and the web site name.

We change the product code everytime we install but we do run into instances where the app pool and the web site already exist.

So when I run this from the advanced installer UI, I get dialog boxes which prompt me whether to skip the app pool installation or rollback.
When I run this through a command line, it fails and the following exists in the log

MSI (s) (64!D0) [16:00:27:205]: Product: Fusion Web -- Error 4025. Application Pool "FusionUKUATTestAppPool" already exists on this server.

Do you want to skip configuring this application pool and continue the installation ?

Error 4025. Application Pool "FusionUKUATTestAppPool" already exists on this server.

Do you want to skip configuring this application pool and continue the installation ?
MSI (s) (64!D0) [16:00:27:215]: Product: Fusion Web -- Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.

Is there a way to pass information on the command line to action this dialog box when it comes up. I ask this because I notice that for the app pool and web site configuration, there is an option to prompt user to overwrite or skip installation. What I would like to do is set it to this option and pass in information in the command line to overwrite tha AppPool and Web Site when they already exist.

Any help here is appreciated.

Thanks
Cyron
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: silent install

Hello Cyron,

We believe that overwriting a site could have destructive consequences for the server on the target machine so prompting for confirmation every time should be the error policy.

Because there were many users which request this option we have a workaround enabled in Advanced Installer starting with the 10.2 version of Advanced Installer.
You can select “Prompt user to overwrite item or rollback installation” option and set a public property in the “Install Parameters” page in the “Properties” pane.

Code: Select all

IISINSTALLPOLICYOVERWRITE
with the value:

Code: Select all

1
Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”