Re: [WiX-users] Re-using a component multiple times in different features

2009-06-22 Thread hegsie
s can be shared by two or more features, that is, the same > component can be referred to by more than one feature." > > http://msdn.microsoft.com/en-us/library/aa368579(VS.85).aspx > > -- Yan > > -Original Message- > From: hegsie > [mailto:heg...@...&

[WiX-users] Re-using a component multiple times in different features

2009-06-22 Thread hegsie
Hi, I have a situation where I have multiple features that all perform the same piece of SQL on a database, rather than have to copy the the SqlString command multiple times, I was wondering if there is a way to do this using the ComponentGroup element.. the SQL looks similar to... exec sp_addlog

[WiX-users] Re-using a component multiple times in different features

2009-06-22 Thread hegsie
Hi, I have a situation where I have multiple features that all perform the same piece of SQL on a database, rather than have to copy the the SqlString command multiple times, I was wondering if there is a way to do this using the ComponentGroup element.. the SQL looks similar to... exec sp_addlog

[WiX-users] Re-using a component multiple times in different features

2009-06-22 Thread hegsie
Hi, I have a situation where I have multiple features that all perform the same piece of SQL on a database, rather than have to copy the the SqlString command multiple times, I was wondering if there is a way to do this using the ComponentGroup element.. the SQL looks similar to... exec sp_addlog

[WiX-users] Immediate CA failure not causing rollback.

2009-01-14 Thread hegsie
Hi, I have a CA that can in odd circumstances fails to execute successfully so I 'return ActionResult.Failure;' But this doesn't seem to roll the installation back it simply, says that the installation ended prematurely. Is there something else that I need to do to get the package to rollback th

[WiX-users] Immediate CA failure not causing rollback.

2009-01-14 Thread hegsie
Hi, I have a CA that can in odd circumstances fails to execute successfully so I 'return ActionResult.Failure;' But this doesn't seem to roll the installation back it simply, says that the installation ended prematurely. Is there something else that I need to do to get the package to rollback th

[WiX-users] Immediate CA failure not causing rollback.

2009-01-14 Thread hegsie
Hi, I have a CA that can in odd circumstances fails to execute successfully so I 'return ActionResult.Failure;' But this doesn't seem to roll the installation back it simply, says that the installation ended prematurely. Is there something else that I need to do to get the package to rollback th

[WiX-users] C# custom actions in windows 2000 not working

2008-12-04 Thread hegsie
Hi I have a couple of C# custom actions written in wix v3, they seem to work fine when they are run on windows XP and 2003 (I haven't tried vista) but when I try to execute these same CA's in Windows 2000 (after the installfinalize action in the InstallExecuteTable) they fail with 'error code 0x80

[WiX-users] Custom action failing causing premature end...

2008-11-25 Thread hegsie
Hi, I Have a custom action that occasionally fails as below... [CustomAction] public static ActionResult InstallCP(Session session) { try { session.Log("Begin InstallModernCP"); CPInstaller DCInstaller = new CPInstalle

Re: [WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
;re trying to use the Property on the server side > of the Windows Installer so the Property would need to be marked > Secure="yes". > > -----Original Message- > From: hegsie [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2008 05:20 > To: [EMAIL PROTECTED]

[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
Hi, I am trying to get information from the user to be used inside a CA after the installfinalize action in the InstallExecuteSequence... I have set up my own dialog with edit controls as follows... but during th installfinalizeaction the property SqlServerAddress is always set back to the def

[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
Hi, I am trying to get information from the user to be used inside a CA after the installfinalize action in the InstallExecuteSequence... I have set up my own dialog with edit controls as follows... but during th installfinalizeaction the property SqlServerAddress is always set back to the def

[WiX-users] Property reset to default after installfinialize

2008-11-24 Thread hegsie
Hi, I am trying to get information from the user to be used inside a CA after the installfinalize action in the InstallExecuteSequence... I have set up my own dialog with edit controls as follows... but during th installfinalizeaction the property SqlServerAddress is always set back to the def

Re: [WiX-users] Wix: Custom Dialog based on Feature selection

2008-11-06 Thread hegsie
Hi Hammad, Were u able to get this working, I'm trying... &CommsMgrs = 3 But it dosen't seem to go to the 'RetrieveIPDlg' dialog when the 'CommsMgrs' feature is set to be installed? Can u point me in the right direction? Hammad Butt wrote: > > Thanks f

[WiX-users] xmlFile Bug, creating excess attribute's in children

2008-11-05 Thread hegsie
Hi, The following code... generates the following

Re: [WiX-users] WindowsFolder Property is not resolved properly inside merge module

2008-11-04 Thread hegsie
Hi, Did u ever get the custom action working when using the [WindowsFolder] property? I use the line below inside the msi wxs file and still no luck... Hlp... Regards hegsie Swadhin Sonowal wrote: > > Hi > > WindowsFolder Property is resolved to empty string

Re: [WiX-users] WindowsFolder Property is not resolved properly inside merge module

2008-11-04 Thread hegsie
Hi, Did u ever get the custom action working when using the [WindowsFolder] property? I use the line below inside the msi wxs file and still no luck... Hlp... Regards hegsie Swadhin Sonowal wrote: > > Hi > > WindowsFolder Property is resolved to empty string

Re: [WiX-users] WindowsFolder Property is not resolved properly inside merge module

2008-11-04 Thread hegsie
Hi, Did u ever get the custom action working when using the [WindowsFolder] property? I use the line below inside the msi wxs file and still no luck... Hlp... Regards hegsie Swadhin Sonowal wrote: > > Hi > > WindowsFolder Property is resolved to empty string