Well, the code is from the stock wxs file. I'm just sharing the folder (not
files are going in) to create a share for files for the website that I create
earlier in the file. (btw, this isn't the whole file). The folder itself
doesn't contain anything by default. My issue is that the remove folders line
doesn't kick off on uninstall because (and I'm assuming this) that the
Util:FileShare is keeping the folder shared and that's preventing me from
removing it. I don't think this is the same thing you were doing (unless my
explanation makes it so).
From: Roy Riegel [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 11:43 AM
To: Pierson Lee (Volt)
Subject: RE: [WiX-users] (no subject)
Hello Pierson,
Pardon, but I had to do a similar thing recently in a switchover from
InstallShield 11.5 to WIX installers in which there was a "shared" flag for any
file in a folder where there were identical files in two different variations
of an installer where one did NOT want certain *.DLLs to be removed unless BOTH
(similar) modules had been uninstalled.
Is your question: Is this (below) the WIX equivalent?
Is this a line in the MyInstaller.wxs file BEFORE one runs it though candle.exe
and light.exe?
Thanks,
Roy Riegel, Scientific Monitoring Inc., Scottsdale, Az. (A WIX user)
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee
(Volt)
Sent: Friday, June 22, 2007 11:32 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] (no subject)
Using the following code, the folder isn't removed on uninstall. Any reason why?
Could it be because the folder is shared? If so, how do I remove a folder share
on uninstall.
Thanks:
--pierson
<Directory Id="EmailShareDir" Name="EmailShare">
<Component Id="EmailShareComponent"
Guid="7011AFE5-D8F9-49B3-811F-FBD49631E388">
<CreateFolder Directory="EmailShareDir" />
<RemoveFolder Id="EmailShare_RemoveFolder"
On="uninstall"/>
<util:FileShare Id="EmailShareFileShare"
Name="EmailShare" Description="Email Share">
<util:FileSharePermission
User="WebShareUser" GenericAll="yes" />
</util:FileShare>
</Component>
</Directory>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users