Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
The relevant parent of util:permissionex is createfolder. Put a component in your directory tree that has a CreateFolder with a permissionsEx nexted in it. An example... Directory Id=windowstemp Name=temp Component Id=windowstempPerm Guid=* RegistryValue

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread CoolBreeze
I do not want to recreate or overwrite the MachineKeys folder that already exists. Will adding CreateFolder / as you suggest below overwrite the existing folder? If so, how can I avoid that, but still add the permission I need to the folder? On Tue, Jun 14, 2011 at 5:23 AM, David Watson

Re: [WiX-users] looking for some help on a file-copying task during install

2011-06-14 Thread Pally Sandher
The Component Table MSDN page (http://msdn.microsoft.com/en-us/library/aa368007.aspx) has this to say about the Condition field: The Condition field enables or disables a component only during the CostFinalize action. To enable or disable a component after CostFinalize, you must use a custom

Re: [WiX-users] Component Request: null eventhough parent featureis inADDLOCAL

2011-06-14 Thread Tobberoth
Absolutely, let me know what information is needed. Here's my patch file, which is basically straight up from the tutorial on the wix page: Patch AllowRemoval=yes Manufacturer=Syscase DisplayName=Test Patch Description=Small Update Patch

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
No it will not overwrite it or cause it to be removed on uninstall. The code example is to set permissions on the windows\temp folder which pre-exists and the permission is added to the ACL of the folder. -Original Message- From: CoolBreeze [mailto:coolbreeze...@googlemail.com] Sent:

Re: [WiX-users] Component Request: null eventhough parent featureisinADDLOCAL

2011-06-14 Thread Peter Shirtcliffe
Did you run heat twice, once each on the original and upgrade MSIs, or did you retain the same source code for both versions ? You should be retaining the code. Other than that, it seems OK. -Original Message- From: Tobberoth [mailto:tobber...@gmail.com] Sent: 14 June 2011 12:33 To:

[WiX-users] unsubscribe

2011-06-14 Thread tim.naish
-- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking.

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread CoolBreeze
Thanks for you help. I understand now. Can you tell what I might have missed to cause the ACL not to be set on the MachineKeys folder? Have I missed something in how I've configured this? I've added the following code to a separate Fragment file and my understanding is that this file will be

[WiX-users] Reliable major upgrade

2011-06-14 Thread Michael Stoll
Hi, I have a msi created with wix, which installs and uninstalls fine. But if I use it as upgrade, some files are kept in the prior version. This happens to .NET assemblies if the version is the same as before. That's easy to fix. But what happens to unversioned files during a major upgrade?

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
If you reference anything in a fragment then the entire fragment will be included in your installer. So if you add a componentRef in your feature this fragment will be included. -Original Message- From: CoolBreeze [mailto:coolbreeze...@googlemail.com] Sent: 14 June 2011 14:20 To:

Re: [WiX-users] Reliable major upgrade

2011-06-14 Thread Rob Mensching
Yes, schedule your major upgrade (RemoveExistingProduct action if you're not using the MajorUpgrade element) before InstallInitialize. On Tue, Jun 14, 2011 at 6:40 AM, Michael Stoll unwicht...@mistoll.dewrote: Hi, I have a msi created with wix, which installs and uninstalls fine. But if I

[WiX-users] Continue after custom confirmation dialog

2011-06-14 Thread Isobel Smith
Hello, I'm having trouble showing a custom 'confirm' dialog in the middle of my install sequence and continuing on property. I'm using 3.5 RTM. Currently I show the welcome dialog, then the license agreement. After that I want to show a warning in a spawned dialog. If the user agrees to it I

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread CoolBreeze
I knew there was something I was probably missing. I've added the componentRef, but the build fails with the following error: The primary key 'TARGETDIR' is duplicated in table 'Directory'. Please remove one of the entries or rename a part of the primary key to avoid the collision. It is true

Re: [WiX-users] looking for some help on a file-copying task during install

2011-06-14 Thread Dave Combs
Thanks, Pally. I actually found Bob's article right after I sent out this message yesterday. It's very enlightening. To tie everything together once again, what I had below for the code block was really a test trying to figure out when BaseFeature had a reasonable value. The real issue at this

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread David Watson
Either take it out of the fragment or use a DirectoryRef. Fragment DirectoryRef Id=TARGETDIR Directory Id=AppDataFolder Directory Id=dir6A68E13632B544EDA8F393F83B23F439 Name=Microsoft Directory Id=dir03FB174C3B8F4214AF6A130B8EAA7BA1 Name=Crypto Directory

[WiX-users] logging

2011-06-14 Thread David Amey
Hello All Can someone please explain how I can turn logging on during the candle and light calls, as I have errors that I need to correct. I am automating the calls, which causes the command prompt to close very quickly after the code has been run. Thanks in advance. PS thank you Tonny

Re: [WiX-users] Help with giving permissions to folder

2011-06-14 Thread CoolBreeze
The reason I'm using a fragment is to try to keep things organized. The installer is installing files in one location, but as part of the installation process I need to modify the ACL of the MachineKeys folder, which as you know will be in a completely different location from my installation

Re: [WiX-users] logging

2011-06-14 Thread Dave Andersen
Something like this may help: http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scripts/ David Amey wrote: Hello All Can someone please explain how I can turn logging on during the candle and light calls, as I have errors that I need to correct. I am automating the

[WiX-users] InstallAware Help...

2011-06-14 Thread Tomer Cohen
Hi, Looking for help with upgrading a product previously installed by InstallAware, now we are using WIX. Thanks. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the