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.com>wrote: > 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: > > ,MediaCabinet=CBUDirectMSI.cab,BytesPerTick=0,CopierType=2,ModuleFileName=C:\Windows\Installer\be8b1a0.msi,,,,,IsFirstPhysicalMedia=1) > MSI (s) (74:60) [14:58:25:216]: Executing op: > > DatabaseCopy(DatabasePath=C:\Windows\Installer\be8b1a0.msi,ProductCode={C294770C-D995-4884-AA27-EC16E225B5D4},,,) > MSI (s) (74:60) [14:58:25:216]: Note: 1: 1402 2: > UNKNOWN\Products\C077492C599D4884AA72CE612E525B4D\InstallProperties 3: 2 > > Same MSI when Install on different machine ,it gets rollback at the end > .And > here is the log. > > MSI (s) (28:70) [15:48:35:702]: Executing op: > ActionStart(Name=StartIIS7ConfigTransaction,Description=Starting IIS Config > Transaction,) > MSI (s) (28:70) [15:48:35:702]: Executing op: > > CustomActionSchedule(Action=StartIIS7ConfigTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (28:70) [15:48:35:702]: Creating MSIHANDLE (100) of type 790536 for > thread 5232 > MSI (s) (28:94) [15:48:35:702]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSID14E.tmp, Entrypoint: StartIIS7ConfigTransaction > MSI (s) (28:6C) [15:48:35:702]: Generating random cookie. > MSI (s) (28:6C) [15:48:35:702]: Created Custom Action Server with PID 10836 > (0x2A54). > MSI (s) (28:0C) [15:48:35:733]: Running as a service. > MSI (s) (28:0C) [15:48:35:733]: Hello, I'm your 32bit Elevated custom > action > server. > MSI (s) (28!B8) [15:48:35:749]: Creating MSIHANDLE (101) of type 790531 for > thread 7352 > MSI (s) (28!B8) [15:48:35:749]: Closing MSIHANDLE (101) of type 790531 for > thread 7352 > MSI (s) (28:94) [15:48:35:749]: Closing MSIHANDLE (100) of type 790536 for > thread 5232 > MSI (s) (28:70) [15:48:35:749]: Executing op: > ActionStart(Name=RollbackIIS7ConfigTransaction,Description=Rolling back IIS > Config Transaction,) > MSI (s) (28:70) [15:48:35:749]: Executing op: > > CustomActionSchedule(Action=RollbackIIS7ConfigTransaction,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (28:70) [15:48:35:749]: Executing op: > ActionStart(Name=CommitIIS7ConfigTransaction,Description=Committing IIS > Config Transaction,) > MSI (s) (28:70) [15:48:35:749]: Executing op: > > CustomActionSchedule(Action=CommitIIS7ConfigTransaction,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (28:70) [15:48:35:749]: Executing op: > ActionStart(Name=ConfigureIIs7Exec,Description=Configuring IIS,) > MSI (s) (28:70) [15:48:35:749]: Executing op: > > CustomActionSchedule(Action=ConfigureIIs7Exec,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (28:70) [15:48:35:764]: Creating MSIHANDLE (102) of type 790536 for > thread 5232 > MSI (s) (28:B4) [15:48:35:764]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSID17E.tmp, Entrypoint: ConfigureIIs7Exec > MSI (s) (28!70) [15:48:35:764]: Creating MSIHANDLE (103) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:764]: Creating MSIHANDLE (104) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:764]: Creating MSIHANDLE (105) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:764]: Creating MSIHANDLE (106) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:764]: Closing MSIHANDLE (105) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:764]: Closing MSIHANDLE (106) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:764]: Creating MSIHANDLE (107) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:764]: Creating MSIHANDLE (108) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:842]: Closing MSIHANDLE (108) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:842]: Closing MSIHANDLE (107) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:842]: Closing MSIHANDLE (103) of type 790531 for > thread 1392 > MSI (s) (28!70) [15:48:35:842]: Closing MSIHANDLE (104) of type 790531 for > thread 1392 > MSI (s) (28:B4) [15:48:35:842]: Closing MSIHANDLE (102) of type 790536 for > thread 5232 > MSI (s) (28:70) [15:48:35:842]: Executing op: > ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys > and Values,) > MSI (s) (28:70) [15:48:35:842]: Executing op: > > CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) > MSI (s) (28:70) [15:48:35:842]: Creating MSIHANDLE (109) of type 790536 for > thread 5232 > MSI (s) (28:04) [15:48:35:842]: Invoking remote custom action. DLL: > C:\Windows\Installer\MSID1DD.tmp, Entrypoint: WriteIIS7ConfigChanges > MSI (s) (28!70) [15:48:35:889]: Creating MSIHANDLE (110) of type 790531 for > thread 10352 > WriteIIS7ConfigChanges: Error 0x80070002: Site not found for create > application > MSI (s) (28!70) [15:48:35:889]: Closing MSIHANDLE (110) of type 790531 for > thread 10352 > MSI (s) (28!70) [15:48:35:889]: Creating MSIHANDLE (111) of type 790531 for > thread 10352 > WriteIIS7ConfigChanges: Error 0x80070002: Failed to configure IIS > application. > MSI (s) (28!70) [15:48:35:889]: Closing MSIHANDLE (111) of type 790531 for > thread 10352 > MSI (s) (28!70) [15:48:35:889]: Creating MSIHANDLE (112) of type 790531 for > thread 10352 > WriteIIS7ConfigChanges: Error 0x80070002: WriteIIS7ConfigChanges Failed. > MSI (s) (28!70) [15:48:35:889]: Closing MSIHANDLE (112) of type 790531 for > thread 10352 > CustomAction WriteIIS7ConfigChanges returned actual error code 1603 (note > this may not be 100% accurate if translation happened inside sandbox) > MSI (s) (28:04) [15:48:35:905]: Closing MSIHANDLE (109) of type 790536 for > thread 5232 > Action ended 15:48:35: InstallFinalize. Return value 3. > MSI (s) (28:70) [15:48:35:905]: User policy value 'DisableRollback' is 0 > MSI (s) (28:70) [15:48:35:905]: Machine policy value 'DisableRollback' is 0 > MSI (s) (28:70) [15:48:36:014]: Executing op: > > Header(Signature=1397708873,Version=500,Timestamp=1117355428,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1) > MSI (s) (28:70) [15:48:36:014]: Executing op: > DialogInfo(Type=0,Argument=1033) > MSI (s) (28:70) [15:48:36:014]: Executing op: > DialogInfo(Type=1,Argument=CBUDirectMSI) > MSI (s) (28:70) [15:48:36:029]: Executing op: > RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back > > action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing > backup files,CleanupTemplate=File: [1]) > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MSI-INstaller-rolles-back-tp7585442.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users