Hello,
First of all I apologize for my delayed reply.
The first is I put DISABLEROLLBACK=1 on the install parameters but it still rollsback each time it fails. During the install I'm storing data the user typed in into the registry and loading them each time the installer is loaded (so they don't have to retype all that data like: Sql Server, Sql instance, Sql Database, Sql Username, etc). This works fine but when the install fails it is removing my registry keys:
MSI (s) (94:B8) [23:12:47:015]: User policy value 'DisableRollback' is 0
MSI (s) (94:B8) [23:12:47:015]: Machine policy value 'DisableRollback' is 0
I've tested the scenario and indeed I can replicate the behavior. It seems the only way to disable the Windows Installer mechanism is by setting the
DisableRollback system policy. I've tested on several systems all other solutions (i.e. DISABLEROLLBACK property, DisableRollback action and EnableRollback control event) exposed in the
"Rollback Installation" Windows Installer's article, but excepting the DisableRollback system policy method no other solution worked. This seems to be a Windows Installer limitation. Considering this, as a workaround, in order to achieve what you want you can:
1. either set the DisableRollback system policy (e.g. by setting from "Registry" page the "DisableRollback" REG_DWORD registry to 1); however, please keep in mind this method will affect all target system and the rollback mechanism will be disabled for all future products' installations, so this is not a recommended approach at all
2. or create your own custom action which will create the desired registry values on rollback; the custom action should be scheduled after "Install Execution Stage -> Preparing" actions group and should run on installation rollback
The second is I can't seem toget IIS working properly. I have the dialog and MY_WEBSITE set on the install parameters.. it "Attempts" to install but errors out but my verbose log does show the correct IIS/VDIR that was selected in the combo box:
MSI (s) (94:78) [23:12:47:022]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI5667.tmp, Entrypoint: OnIIsConfig
AI_IIsConfig: Installing "Default Web Site/CloudPanel2"
Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
MSI (s) (94!70) [23:13:07:635]: Product: CloudPanel -- 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)
Action ended 23:13:07: InstallFinalize. Return value 3.
MSI (s) (94:B8) [23:13:07:644]: Note: 1: 2265 2: 3: -2147287035
From what I see in the log file you are trying to install a web site (i.e. "CloudPanel2") under the ""Default Web Site". Please keep in mind this is not possible. Under the "Default Web Site" you can install only a web application or a virtual directory. Please give us more details about your web site installation scenario and about what you are trying to achieve so we can have a clear view.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging