Thanks for your recommendation, I tried to set ConfigureIfExists for <IIS:Website>, while during repair, I still got error while configuring existing website. Is this a common issue for WIX or I was doing something wrong in my code? btw, I am working on 64bit server of Win2008 Here is the new Logs:
Action ended 9:38:53: InstallFiles. Return value 1. MSI (s) (CC:28) [09:38:53:421]: Skipping action: ConfigureIIs (condition is false) MSI (s) (CC:28) [09:38:53:421]: Doing action: ConfigureIIs7 Action 9:38:53: ConfigureIIs7. Configuring IIS Action start 9:38:53: ConfigureIIs7. MSI (s) (CC:B0) [09:38:53:440]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI9EFB.tmp, Entrypoint: ConfigureIIs7 MSI (s) (CC:B4) [09:38:53:440]: Generating random cookie. MSI (s) (CC:B4) [09:38:53:457]: Created Custom Action Server with PID 2272 (0x8E0). MSI (s) (CC:C8) [09:38:53:609]: Running as a service. MSI (s) (CC:C8) [09:38:53:623]: Hello, I'm your 32bit Impersonated custom action server. MSI (s) (CC!DC) [09:38:53:837]: PROPERTY CHANGE: Adding StartIIS7ConfigTransaction property. Its value is 'ScaConfigureIIs'. MSI (s) (CC!DC) [09:38:53:843]: Doing action: StartIIS7ConfigTransaction Action 9:38:53: StartIIS7ConfigTransaction. Starting IIS Config Transaction Action start 9:38:53: StartIIS7ConfigTransaction. 1: Starting IIS Config Transaction Action ended 9:38:53: StartIIS7ConfigTransaction. Return value 1. MSI (s) (CC!DC) [09:38:53:862]: PROPERTY CHANGE: Adding RollbackIIS7ConfigTransaction property. Its value is 'ScaConfigureIIs'. MSI (s) (CC!DC) [09:38:53:863]: Doing action: RollbackIIS7ConfigTransaction Action 9:38:53: RollbackIIS7ConfigTransaction. Rolling back IIS Config Transaction Action start 9:38:53: RollbackIIS7ConfigTransaction. 1: Rolling back IIS Config Transaction Action ended 9:38:53: RollbackIIS7ConfigTransaction. Return value 1. MSI (s) (CC!DC) [09:38:53:934]: PROPERTY CHANGE: Adding CommitIIS7ConfigTransaction property. Its value is 'ScaConfigureIIs'. MSI (s) (CC!DC) [09:38:53:935]: Doing action: CommitIIS7ConfigTransaction Action 9:38:53: CommitIIS7ConfigTransaction. Committing IIS Config Transaction Action start 9:38:53: CommitIIS7ConfigTransaction. 1: Committing IIS Config Transaction Action ended 9:38:53: CommitIIS7ConfigTransaction. Return value 1. MSI (s) (CC!DC) [09:38:54:068]: PROPERTY CHANGE: Adding WriteIIS7ConfigChanges property. Its value is '31My test Web Site-2147483648-2147483648-214748364840My test Web Site/240My test Web Site//C:\Program Files\Acme250My test Web Sitehttp:80:250My test Web Sitehttp:80:40My test Web Site/Test240My test Web Site/Test/C:\Program Files\Acme\61My test Web SiteTest70'. MSI (s) (CC!DC) [09:38:54:073]: Doing action: WriteIIS7ConfigChanges Action 9:38:54: WriteIIS7ConfigChanges. Installing Config Keys and Values Action start 9:38:54: WriteIIS7ConfigChanges. 1: Installing Config Keys and Values Action ended 9:38:54: WriteIIS7ConfigChanges. Return value 1. Action ended 9:38:54: ConfigureIIs7. Return value 1. MSI (s) (CC:28) [09:38:54:174]: Doing action: RegisterUser Action 9:38:54: RegisterUser. Registering user Action start 9:38:54: RegisterUser. ... MSI (s) (CC:28) [09:38:54:298]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (s) (CC:28) [09:38:54:298]: SOFTWARE RESTRICTION POLICY: C:\Users\Administrator\Desktop\testWebsite.msi is not digitally signed MSI (s) (CC:28) [09:38:54:301]: SOFTWARE RESTRICTION POLICY: C:\Users\Administrator\Desktop\testWebsite.msi is permitted to run at the 'unrestricted' authorization level. MSI (s) (CC:28) [09:38:54:303]: Note: 1: 2318 2: C:\Program Files\Acme\default.htm MSI (s) (CC:28) [09:38:54:311]: Executing op: CacheSizeFlush(,) MSI (s) (CC:28) [09:38:54:311]: Executing op: ActionStart(Name=StartIIS7ConfigTransaction,Description=Starting IIS Config Transaction,) Action 9:38:54: StartIIS7ConfigTransaction. Starting IIS Config Transaction MSI (s) (CC:28) [09:38:54:351]: Executing op: CustomActionSchedule(Action=StartIIS7ConfigTransaction,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (CC:80) [09:38:54:364]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIA297.tmp, Entrypoint: StartIIS7ConfigTransaction MSI (s) (CC:28) [09:38:54:401]: Executing op: ActionStart(Name=RollbackIIS7ConfigTransaction,Description=Rolling back IIS Config Transaction,) Action 9:38:54: RollbackIIS7ConfigTransaction. Rolling back IIS Config Transaction MSI (s) (CC:28) [09:38:54:403]: Executing op: CustomActionSchedule(Action=RollbackIIS7ConfigTransaction,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (CC:28) [09:38:54:405]: Executing op: ActionStart(Name=CommitIIS7ConfigTransaction,Description=Committing IIS Config Transaction,) Action 9:38:54: CommitIIS7ConfigTransaction. Committing IIS Config Transaction MSI (s) (CC:28) [09:38:54:407]: Executing op: CustomActionSchedule(Action=CommitIIS7ConfigTransaction,ActionType=11777,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (CC:28) [09:38:54:408]: Executing op: ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys and Values,) Action 9:38:54: WriteIIS7ConfigChanges. Installing Config Keys and Values MSI (s) (CC:28) [09:38:54:410]: Executing op: CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (CC:D0) [09:38:54:414]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIA2D7.tmp, Entrypoint: WriteIIS7ConfigChanges WriteIIS7ConfigChanges: Error 0x800700b7: Unable modify existing WebSite WriteIIS7ConfigChanges: Error 0x800700b7: Failed to configure IIS site. WriteIIS7ConfigChanges: Error 0x800700b7: WriteIIS7ConfigChanges Failed. and here is test code I changed: <Component Win64='yes' Id='TestWebVirtualDirComponent' Guid='{D9821C11-BB9B-4c77-9289-B0128AF5F9C9}'> <IIS:WebSite Id='MyTestWeb' Description='My test Web Site' ConfigureIfExists='no' Directory='InstallDir'> <IIS:WebAddress Id='AllUnassigned' Port='80'/> <IIS:WebVirtualDir Id='TestWebVirtualDir' Alias='Test' Directory='InstallDir'> <IIS:WebApplication Id='TestWebApplication' Name='Test' /> </IIS:WebVirtualDir> </IIS:WebSite> </Component> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/IIS-error-during-Repair-Installation-tp5012233p5017463.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users