I think you are talking about "shared" in the sense that your applications
shared usage of a DLL.
I'm talking about sharing folders in the sense of a network share access to a
folder (two different things).
I have no idea on your item L
From: Roy Riegel [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 12:04 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] (no subject)
Thanks for your quick response.
My use of a "shared file" used to be done with a reference count type mechanism
in IS 11.5 where let's say Application A installs MyRuntime.dll with one set of
data; Application B ALSO installs an IDENTICAL MyRuntime.dll with different
data than Application A.
When Application B's installer is loading MyRuntime.dll, it increments a ref.
or "shared file" count for the dll; when Application A (or B) are uninstalled,
the ref. count is decremented by 1, and MyRuntime.dll still persists in the eg:
..\System\Bin dir.
When the OTHER app. is uninstalled the ref. count gets decremented (to zero),
file gets removed, system is completely "cleaned up" etc......
My questions:
1. Is there an identical mechanism in WIX?
2. Where is this explained or shown by example?
3. Am I asking too much? J
Thanks,
Roy Riegel, SMI
________________________________
From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 11:54 AM
To: Roy Riegel
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] (no subject)
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