The error in the log file is this:
WriteIIS7ConfigChanges: Error 0x80070002: Site not found for create
application
On Thu, Apr 25, 2013 at 10:50 PM, chennam chatrapathi.chen...@gmail.comwrote:
Hi
I have a installer created which gets installed successfully on Dev
Environments ,but when installed on UAT and Test environments the installer
rolls back what ever it has installed. Not sure what could be issue be
with.If it is related to IIS .Please provide me sample code snippet how the
related fragments should like or the configurations be set in WIX project
so
it does work fine on the all the machine with consistency.
Here is log snippet on one of the machine where installer worked fine.
MSI (s) (74:60) [14:58:19:104]: Executing op:
ActionStart(Name=StartIIS7ConfigTransaction,Description=Starting IIS Config
Transaction,)
MSI (s) (74:60) [14:58:19:105]: Executing op:
CustomActionSchedule(Action=StartIIS7ConfigTransaction,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (74:60) [14:58:19:113]: Creating MSIHANDLE (43) of type 790536 for
thread 8032
MSI (s) (74:A4) [14:58:19:113]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI7CE.tmp, Entrypoint: StartIIS7ConfigTransaction
MSI (s) (74:A8) [14:58:19:114]: Generating random cookie.
MSI (s) (74:A8) [14:58:19:115]: Created Custom Action Server with PID 10744
(0x29F8).
MSI (s) (74:68) [14:58:19:140]: Running as a service.
MSI (s) (74:68) [14:58:19:141]: Hello, I'm your 32bit Elevated custom
action
server.
MSI (s) (74!E4) [14:58:19:564]: Creating MSIHANDLE (44) of type 790531 for
thread 4836
MSI (s) (74!E4) [14:58:19:566]: Closing MSIHANDLE (44) of type 790531 for
thread 4836
MSI (s) (74:A4) [14:58:19:567]: Closing MSIHANDLE (43) of type 790536 for
thread 8032
MSI (s) (74:60) [14:58:19:567]: Executing op:
ActionStart(Name=RollbackIIS7ConfigTransaction,Description=Rolling back IIS
Config Transaction,)
MSI (s) (74:60) [14:58:19:568]: Executing op:
CustomActionSchedule(Action=RollbackIIS7ConfigTransaction,ActionType=11521,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (74:60) [14:58:19:570]: Executing op:
ActionStart(Name=CommitIIS7ConfigTransaction,Description=Committing IIS
Config Transaction,)
MSI (s) (74:60) [14:58:19:570]: Executing op:
CustomActionSchedule(Action=CommitIIS7ConfigTransaction,ActionType=11777,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (74:60) [14:58:19:572]: Executing op:
ActionStart(Name=ConfigureIIs7Exec,Description=Configuring IIS,)
MSI (s) (74:60) [14:58:19:573]: Executing op:
CustomActionSchedule(Action=ConfigureIIs7Exec,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (74:60) [14:58:19:591]: Creating MSIHANDLE (45) of type 790536 for
thread 8032
MSI (s) (74:0C) [14:58:19:592]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI9A3.tmp, Entrypoint: ConfigureIIs7Exec
MSI (s) (74!D8) [14:58:19:673]: Creating MSIHANDLE (46) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:19:674]: Creating MSIHANDLE (47) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:19:675]: Creating MSIHANDLE (48) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:19:677]: Creating MSIHANDLE (49) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:19:680]: Closing MSIHANDLE (48) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:19:680]: Closing MSIHANDLE (49) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:19:680]: Creating MSIHANDLE (50) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:19:681]: Creating MSIHANDLE (51) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:22:101]: Closing MSIHANDLE (51) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:23:638]: Closing MSIHANDLE (50) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:23:638]: Closing MSIHANDLE (46) of type 790531 for
thread 728
MSI (s) (74!D8) [14:58:23:638]: Closing MSIHANDLE (47) of type 790531 for
thread 728
MSI (s) (74:0C) [14:58:23:641]: Closing MSIHANDLE (45) of type 790536 for
thread 8032
MSI (s) (74:60) [14:58:23:642]: Executing op:
ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys
and Values,)
MSI (s) (74:60) [14:58:23:646]: Executing op:
CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (74:60) [14:58:23:666]: Creating MSIHANDLE (52) of type 790536 for
thread 8032
MSI (s) (74:50) [14:58:23:667]: Invoking remote custom action. DLL:
C:\Windows\Installer\MSI198C.tmp, Entrypoint: WriteIIS7ConfigChanges
MSI (s) (74:50) [14:58:25:215]: Closing MSIHANDLE (52) of type 790536 for
thread 8032
MSI (s) (74:60) [14:58:25:215]: Executing op:
ActionStart(Name=RegisterProduct,Description=Registering
product,Template=[1])
MSI (s) (74:60) [14:58:25:216]: Executing op:
ChangeMedia(,MediaPrompt=Please insert the disk: