Hi
I have a folder under C:\inetpub\wwwroot\SFS with some subfolders are not
removed SOMETIMES after uninstall. The behavior is it gets removed in the first
or two fresh installations, but left there after a few installations. Below is
the error I found in the log file:
WriteMetabaseChanges: Key `/LM/W3SVC/1/Root/SFS/SFSWebServices/`did not exist,
continuing.
WriteMetabaseChanges: Key `/LM/W3SVC/1/Root/SFS/Images/`did not exist,
continuing.
Here is related wix2 code:
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="IISMain" Name="Inetpub">
<Directory Id="WWWMain" Name="wwwroot">
<Directory Id="SFS" Name="SFS">
<Component
Id="FileShare" Guid="EEDD1912-55DC-11DE-99CC-41A656D89593">
<CreateFolder/>
<User Id="Everyone" Name="Everyone"/>
<FileShare Id="SFSWWWRoot" Name="SFS" Description="Share
C:\inetput\wwwroot\SFS">
<Permission ReadPermission="yes" GenericRead="yes" Read="yes"
ReadAttributes="yes" User="Everyone"/>
</FileShare>
</Component>
<Directory
Id="Images" Name="Images"/>
<Directory
Id="Factors" Name="Factors"/>
....
The behavior is same with or without the FileShare.
<DirectoryRef Id="SFS">
<Component Id="CreateVirDirs_"
Guid="D60A8082-3347-401f-8A59-CD02F4C2AE3B">
<WebVirtualDir
Id="SFSVirtualDir" Alias="SFS" Directory="SFS" WebSite="DefaultWebSite">
<WebVirtualDir Id="InternalWebVirtualDirID" Alias="Internal"
Directory="Internal" DirProperties="WebDirNTOnly">
.......
Thanks
Jirong Hu
Build Master
780-644-5488
This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal, and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply, should
be deleted or destroyed.
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users