I just completed my test and verified in a basic install that just creates a 
share using the util:FileSharePermission extension does indeed wipe out 
existing permissions and resets with the combined permissions outlined in the 
install. I say combined permissions as I added a new user to the component in 
the patch and that user was added but the user added outside the install was 
removed. This means that there is a bug of some sort in that extension that 
causes the share permissions to be destroyed and recreated as was suggested 
earlier.

Jon W. McCain | Software Engineer - Install

-----Original Message-----
From: McCain, Jon 
Sent: Wednesday, December 14, 2011 8:06 AM
To: General discussion for Windows Installer XML toolset.
Cc: McCain, Jon
Subject: RE: [WiX-users] Util:FileShareor FileSharePermissionsisremoving 
additional userson minor/small updates.

Thanks Peter. I am working on the suggestion  of building a small install. But 
I will try that as well.

Jon W. McCain | Software Engineer - Install phone & fax +1.317.715.8462 | 
jon.mcc...@inin.com

Interactive Intelligence Inc.
Deliberately Innovative
www.inin.com



-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: Wednesday, December 14, 2011 5:04 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Util:FileShareor FileSharePermissionsisremoving 
additional userson minor/small updates.

You can view the result of a patched MSI in Orca by first opening the MSI then 
using one of the menu items called "View Patch", if I remember rightly.
You could also extract the embedded transforms from the msp and look at those 
but that's a little more work.

-----Original Message-----
From: McCain, Jon [mailto:jon.mcc...@inin.com]
Sent: 13 December 2011 13:58
To: General discussion for Windows Installer XML toolset.
Cc: McCain, Jon
Subject: Re: [WiX-users] Util:FileShareor FileSharePermissionsisremoving 
additional userson minor/small updates.

I missed your response Chad... But opening an MSP in orca only shows the 
MSIPatchMetaData and MSIPatchSequence tables... Are you referring to opening up 
the new MSI that is ultimately used to create the patch?

Thanks for the suggestion Dave. I'll put something together to test that out.

Jon W. McCain 

-----Original Message-----
From: David Watson [mailto:dwat...@sdl.com]
Sent: Tuesday, December 13, 2011 8:27 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Util:FileShare or FileSharePermissionsisremoving 
additional users on minor/small updates.

If you can replicate this behaviour in a minimal installer, I suspect this may 
be a bug in the util:FileSharePermission code.

I would advise grabbing the wix source and checking out what the extension 
does. It may well trash the acl and rebuild it on a repair (or even the whole
share) which would describe the behaviour you are seeing. But that's my 
speculation.

Dave

-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: 12 December 2011 16:33
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Util:FileShare or FileSharePermissionsisremoving 
additional users on minor/small updates.

If you open up your MSP in Orca does it have a FileShare and/or 
FileSharePermissions tables? It sounds like it does based off of the behavior 
you describe, but I'd hope it doesn't because I'd think
(ideally) your minor update should leave the shares and permissions alone that 
were created by the major installer as well as added since the install.

If those tables were there I think I'd try making a copy of the MSP, then use 
Orca to drop those two tables and save and test it to see if the same thing 
happened. Using the modified MSP, of course.


-----Original Message-----
From: McCain, Jon [mailto:jon.mcc...@inin.com]
Sent: Monday, December 12, 2011 5:32 AM
To: General discussion for Windows Installer XML toolset.
Cc: McCain, Jon
Subject: Re: [WiX-users] Util:FileShare or FileSharePermissions isremoving 
additional users on minor/small updates.

Anyone have any other thoughts on this?

Jon W. McCain | Software Engineer - Install phone & fax +1.317.715.8462 | 
jon.mcc...@inin.com

Interactive Intelligence Inc.
Deliberately Innovative
www.inin.com



-----Original Message-----
From: McCain, Jon
Sent: Friday, December 09, 2011 8:31 AM
To: General discussion for Windows Installer XML toolset.
Cc: McCain, Jon
Subject: RE: [WiX-users] Util:FileShare or FileSharePermissions is removing 
additional users on minor/small updates.

I am referring to a minor upgrade not a major in this instance. The product 
code remains the same and an MSP is used for the install.

Jon W. McCain | Software Engineer - Install phone & fax +1.317.715.8462
| jon.mcc...@inin.com

Interactive Intelligence Inc.
Deliberately Innovative
www.inin.com



-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
Sent: Friday, December 09, 2011 4:47 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Util:FileShare or FileSharePermissions is removing 
additional users on minor/small updates.

If by "the update" you're meaning a major update then you can avoid the 
component being reinstalled by scheduling RemoveExistingProducts late - one of 
the latter 2 options here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197%28v=vs.
85%29
.aspx
Components that exist in both the old and new installers are not reinstalled.

-----Original Message-----
From: McCain, Jon [mailto:jon.mcc...@inin.com]
Sent: 08 December 2011 18:18
To: wix-users@lists.sourceforge.net
Cc: McCain, Jon
Subject: [WiX-users] Util:FileShare or FileSharePermissions is removing 
additional users on minor/small updates.

I am experiencing an issue where a network share created with util:FileShare is 
overwriting post install added members to the Share Permissions DACL. The 
components look like this for the GA install:

  <Fragment>
    <DirectoryRef Id="CLIENT_RESOURCES">
      <Component Id="resourcedir_fileshare"
Guid="D2DAED14-E4E3-4405-8C0A-D26E9144793B" SharedDllRefCount="yes">
        <CreateFolder />
        <util:FileShare Name="Resources" Id="ResourceDirectoryShare"
Description="IC Resources Folder">
          <util:FileSharePermission GenericAll="yes"
User="Administrators"
CreateChild="yes" CreateFile="yes" DeleteChild="yes" />
          <util:FileSharePermission GenericRead="yes" User="Everyone"
GenericExecute="yes" ReadPermission="yes" ReadExtendedAttributes="yes"
/>
        </util:FileShare>
      </Component>
    </DirectoryRef>
  </Fragment>

These do not change during minor updates but when the update is applied any 
additional permissions that have been added are lost. I attempted to add 
Conditions to the components but to only run when "Not Installed" is true but 
that didn't resolve the issue. The only solution I can think of is a custom 
action that creates a cache of the share information and later restores it. I 
searched the bugs on sourceforge and do not see a specific one for this issue.

Any and all help is appreciated.

Regards,
Jon W. McCain | Software Engineer - Install

------------------------------------------------------------------------
-----
-
Cloud Services Checklist: Pricing and Packaging Optimization This white paper 
is intended to serve as a reference, checklist and point of discussion for 
anyone considering optimizing the pricing and packaging model of a cloud 
services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
SL6 7DY, UK.


------------------------------------------------------------------------
------
Cloud Services Checklist: Pricing and Packaging Optimization This white paper 
is intended to serve as a reference, checklist and point of discussion for 
anyone considering optimizing the pricing and packaging model of a cloud 
services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011 Microsoft is holding a special 
Learn Windows Azure training event for developers. It will provide a great way 
to learn Windows Azure and what it provides. You can attend the event by 
watching it streamed LIVE online.

Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-----------------------------------------------------------------------------
-
Learn Windows Azure Live!  Tuesday, Dec 13, 2011 Microsoft is holding a special 
Learn Windows Azure training event for developers. It will provide a great way 
to learn Windows Azure and what it provides. You can attend the event by 
watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-----------------------------------------------------------------------------
-
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and improve 
service delivery. Take 5 minutes to use this Systems Optimization Self 
Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-----------------------------------------------------------------------------
-
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and improve 
service delivery. Take 5 minutes to use this Systems Optimization Self 
Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to