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

Re: error during IIS setup 1603

Hello Scott,

I'm not sure why you are encountering this. In order to get more details about what happens can you download the following debug DLL, replace the original one from the install folder of Advanced Installer 10.0 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 10.0\custact\x86) on your machine and rebuild the package?

Just replace the original iis.dll from the install folder of Advanced Installer with this one, then restart the application and rebuild the package. This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_IIS.log), which can give us more details about the problem. So, can you send us the AI_IIS.log file, to support at advancedinstaller dot com, after you will build and test your installation package using the debug iis.dll?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
codemonk3y
Posts: 62
Joined: Thu Nov 01, 2012 3:51 pm

Re: error during IIS setup 1603

Done and I emailed the log to you. I also sent you the trimmed down aip file I was using.
codemonk3y
Posts: 62
Joined: Thu Nov 01, 2012 3:51 pm

Re: error during IIS setup 1603

I found the problem. I created a table to put all my properties in. Whenever I try to use my properties in my custom table they come through as empty. So when I try to set the thumbprint it's empty, which is why it fails. So I moved all my properties back into the properties table and it's working now.

Shouldn't the properties work no matter which table they are in?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: error during IIS setup 1603

I am not sure how you configured the table, but my questions is why do you need a separate table when Properties table is there exactly for the purpose of storing properties?

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
codemonk3y
Posts: 62
Joined: Thu Nov 01, 2012 3:51 pm

Re: error during IIS setup 1603

I'm dynamically creating my IIS websites based on a what region gets installed. Each site has different ports and thumbprints, so I created my own table to keep all my properties together so it was easier to maintain them. Since it didn't work, I'll just use the property table.
Kirill
Posts: 5
Joined: Thu May 16, 2013 8:25 am

Re: error during IIS setup 1603

Hello,
I ran into the same problem with iis, during application install I got error message:
MSI (s) (08:78) [06:30:13:398]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6806.tmp, Entrypoint: OnIIsConfig
AI_IIsConfig: Installing "WebAppPool"
AI_IIsConfig: Installing "ServicesAppPool"
AI_IIsConfig: Installing "WebSite"
Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
MSI (s) (08!98) [06:36:05:323]: Product: My Product -- Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
CustomAction AI_IIsConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

This error appears only on some machines, for example on Windows server 2008 R2 SP1 x64
Installation log file doesn't contain sensable information, IIS logs also, I have no idea what gone wrong.
Is it possible to provide debug iis.dll for Advanced installer 10.2 ?
Thank you in advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during IIS setup 1603

Hello,

In order to get more details about what generates this failure you can download the following debug DLL, replace the original one from the install folder of Advanced Installer 10.2 (e.g. C:\Program Files (x86)\Caphyon\Advanced Installer 10.2\custact\x86) on your machine, then restart the Advanced Installer application and rebuild the package.

This DLL should create a debug log (at install time) on the root of the OS partition (e.g. C:\AI_IIS.log), which can give us more details about the problem. So, please send us the AI_IIS.log file to support at advancedinstaller dot com, after you will build and test your installation package using the debug iis.dll?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hgxu2013
Posts: 28
Joined: Wed Dec 11, 2013 1:50 am

Re: error during IIS setup 1603

Hi There,
I am using AI version 10.8. I am trying to set HTTPS port at HTTPS BIndings/SSL; a public property variable called HTTPS_PORT.
My goal is to allow user to setup new Website, new Virtual Directory, and new Apppool during installation. Also, passing the HTTP value and HTTPS value from Jenkins to AI installer. Currently all Apppool, HTTP and HTTPS ports are in default to 80 and 443. User has to goto IIS management to edit and modify the HTTP and HTTPS ports after the installation. This is not efficient when you have more than one machine, example 30 machines. However, I am having problem during installation with the "HTTPS Bindings/SSL" i just added in the AI installer. Enclosed are the screenshots of how I configured my HTTPS binding and the error found during installation.
Please advise what I did wrong.
Thanks in advance
Attachments
httpsport setup
httpsport setup
sethttpsport.png (116.25 KiB) Viewed 15672 times
error during installation after setting up https binding in AI
error during installation after setting up https binding in AI
Error.png (8.37 KiB) Viewed 15672 times
hgxu2013
Posts: 28
Joined: Wed Dec 11, 2013 1:50 am

Re: error during IIS setup 1603

BTW, it worked when I installed it on 2003 but failed when I installed it on 2008. Please advise.
THanks in advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during IIS setup 1603

Hello,

This may happen if on the target installation machine doesn't exist a server certificate having the specified thumbprint (0000000000000000000000000000000000000000). So, in order to achieve what you want you should make sure that on target machine already exists a certificate with the above thumbprint. Also, as another option you can include the certificate file in your built setup package. Just use the "Install PFX certificate from the package" option.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hgxu2013
Posts: 28
Joined: Wed Dec 11, 2013 1:50 am

Re: error during IIS setup 1603

Thank you Daniel for followed back!
BTW, I am not if I did mention to in my earlier posts that it worked fine with Windows 2003/IIS6. Now, I don't think IIS version matter. It has to do with Operating system. Having said that, do you have any in mind?
Thanks a bunch!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during IIS setup 1603

Hello,

Please keep in mind that in order to use the HTTPS protocol for your web site it is required to have a digital certificate which will be associated with your web site. If you didn't acquired a digital certificate for your web site, then you can create a test one. Just open the IIS manager and go to "Server Certificates" section. Here, use the "Create Self-Signed Certificate..." option to create a test certificate. Export the above created certificate (test_cert.pfx) to a location on your computer.

Open, your .aip (project file) in Advanced Installer, go to "IIS page -> HTTPS Bindings /SSL tab", enable the "Install PFX certificate from the package" option and choose your exported certificate file.
Now, you can build and test your installation package.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Re: error during IIS setup 1603

Hi Daniel,

I noted that my predessor Fergus had this error on an older version of Advanced installer.
I am testing our latest installers on Windows Server 2016 Standard with IIS 10 and i'm receiving the same error.

One step i have taken is to simplify an IIS application install so that it's simpler than our normal installs and i get the
same error.

Is this something that you are aware of and is there a fix available. Currently using Advanced Installer 12.7.2. Appreciate that there
is a later version of Advanced Installer available - we'd have to change our build system (and plan to) to take advantage of this.

best regards,

Ian
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: error during IIS setup 1603

Hello Ian,

I am not aware of any such issue.

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Also, if you can isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side this will be very useful.

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

Return to “Common Problems”