Re: [WiX-users] How do I preserve a configuration file on a majorupgrade?

2009-05-25 Thread si
I know this thread is over a year old, but for those who find it via google, the custom actions below fail with "Access Denied" under Vista when the user does not have admin rights i.e. enters admin credentials during install. However it does work if you log in as Admin, or open a cmd prompt as ad

[WiX-users] setup.exe with msi

2009-05-25 Thread Hukumchand Shah
Hi, I have my msi file created using WIX. I want to make setup.exe which does some tasks like copying some file and renaming it and finally launch msi installer. How can I do that setup.exe? Thanks, Hukum -- Register Now f

[WiX-users] Failed to copy CustomAction log name

2009-05-25 Thread Alex Ivanoff
I use long descriptive names for my custom actions so I finally got this error: "Failed to copy CustomAction log name." Turns out there is a 31 character log name limit in wcautil.cpp, line 28: static char s_szCustomActionLogName[32]; Why such a limitation? --

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-25 Thread Rob Mensching
Sometimes we do the right thing. zett42 wrote: > Sorry, I just noticed that "FeatureGroup" is already listed as possible > parent of "MergeRef", where it really belongs to :) > > > zett42 wrote: > >> Thank you for this hint. Then there is indeed no need for MergeGroup. It >> might help to add

Re: [WiX-users] Wix & installutil question

2009-05-25 Thread Rob Mensching
If you must use managed code for a CustomAction (native code is better) use DTF instead of InstallUtil. InstallUtil is just a glorified self-reg and self-reg is well known to be bad for installation. DTF is included as part of the WiX toolset. Glenn Macgregor wrote: > Hi All, > > I am new to wi

Re: [WiX-users] Passing properties between deferred custom actions

2009-05-25 Thread Rob Mensching
There are functions in wcautil.lib that we use to pass data between deferred CustomActions. It isn't simple to use and should be used only when absolutely necessary. Alex Ivanoff wrote: > So it is impossible. > > > -Original Message- > From: akash bhatia [mailto:911ak...@gmail.com] > Sen

Re: [WiX-users] Passing properties between deferred custom actions

2009-05-25 Thread Alex Ivanoff
So it is impossible. -Original Message- From: akash bhatia [mailto:911ak...@gmail.com] Sent: Monday, May 25, 2009 14:37 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Passing properties between deferred custom actions You can only call certain PROPERT

[WiX-users] Result of deferred custom action

2009-05-25 Thread Alex Ivanoff
I have a deferred custom action that generates a certificate. Once certificate is generated I need to store its serial number in configuration file. From what I understand about deferred custom actions I have to write code to update configuration file. Or can I use XmlConfig? -

Re: [WiX-users] Passing properties between deferred custom actions

2009-05-25 Thread akash bhatia
You can only call certain PROPERTIES like "CustomActionData". this link might help you http://vadmyst.blogspot.com/2006/05/deferred-custom-actions-with-wix.html Akash On Tue, May 26, 2009 at 12:29 AM, Alex Ivanoff wrote: > I need to pass some values from one deferred custom action to another.

[WiX-users] Passing properties between deferred custom actions

2009-05-25 Thread Alex Ivanoff
I need to pass some values from one deferred custom action to another. Is this possible? -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity p

Re: [WiX-users] Read the text from .ini file.

2009-05-25 Thread Alex Shevchuk
You need . Alex -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent: Monday, May 25, 2009 5:25 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Read the text from .ini file. Hi, How can I read the text from .ini file and store it into p

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-25 Thread zett42
Sorry, I just noticed that "FeatureGroup" is already listed as possible parent of "MergeRef", where it really belongs to :) zett42 wrote: > > Thank you for this hint. Then there is indeed no need for MergeGroup. It > might help to add "FeatureGroup" to the list of possible parents of the > "Mer

[WiX-users] Wix & installutil question

2009-05-25 Thread Glenn Macgregor
Hi All, I am new to wix, from what I have seen thus far it is great. I have a windows service which I install using the ServiceInstall and ServiceControl tags. That part works fine, the service gets installed as expected. Along with the service exe file I also install a dll which has WMI instru

Re: [WiX-users] MergeGroup / MergeGroupRef

2009-05-25 Thread zett42
Thank you for this hint. Then there is indeed no need for MergeGroup. It might help to add "FeatureGroup" to the list of possible parents of the "Merge" element in the documentation. Rob Mensching-6 wrote: > > A FeatureGroup doesn't mean there is a Feature contained. A FeatureGroup > contains

[WiX-users] Read the text from .ini file.

2009-05-25 Thread Rahul.Ekbote
Hi, How can I read the text from .ini file and store it into property. I have .ini file with product version information. I want to read this information and used to check same version is present on machine or not. I found the way to write the text into .ini file using but not found how to r

[WiX-users] FW: installation directory must be on a local hard drive

2009-05-25 Thread Tency Kuruvilla
From: Tency Kuruvilla Sent: Mon 5/25/2009 12:05 PM To: wix-users-requ...@lists.sourceforge.net Subject: installation directory must be on a local hard drive hi.. when i'm running the wix installer set up package the welcome and liscence agrrement dialogue

Re: [WiX-users] Patching web deploy DLLs

2009-05-25 Thread Sean Gainsford
Hi, Sorry for taking long to replay. As far as I am aware it is not possible to set the version of the DLL's when compiling each page and user control into a separate assembly. If this is possible can someone point me in the right direction on how to do this? I have down some searching but no luc