Re: [WiX-users] Name of the msi with in the install file

2008-02-28 Thread vishnum
Hello All: Thank you very much for all your replies. I managed to get it work. The problem was I was trying to use MsiGetProperty() in a deferred custom action. MsiGetProperty() requires an msi handle and deferred custom actions run in a different session because of which the deferred custom act

Re: [WiX-users] Name of the msi with in the install file

2008-02-25 Thread Richard
In article <[EMAIL PROTECTED]>, "RAYMENT Tim" <[EMAIL PROTECTED]> writes: > Maybe you should step back and describe the fundamental problem that > you're trying to solve. Perhaps then someone might be able to suggest > an alternative 'solution' that doesn't require msi name. ...or a custom

Re: [WiX-users] Name of the msi with in the install file

2008-02-25 Thread RAYMENT Tim
[EMAIL PROTECTED] On Behalf Of vishnum Sent: 25 February 2008 04:11 To: Subject: Re: [WiX-users] Name of the msi with in the install file Hello: Thank you very much for your response. What I am trying to do is I have a custom action (external, in a dll) which based on the msi name writes data to t

Re: [WiX-users] Name of the msi with in the install file

2008-02-24 Thread Richard
In article <[EMAIL PROTECTED]>, vishnum <[EMAIL PROTECTED]> writes: > What I am trying to do is I have a custom action (external, in a dll) which > based on the msi name writes data to the registry. A better approach is to set a property and use that to drive your custom action data. Even

Re: [WiX-users] Name of the msi with in the install file

2008-02-24 Thread vishnum
Hello: Thank you very much for your response. What I am trying to do is I have a custom action (external, in a dll) which based on the msi name writes data to the registry. I tried using "OriginalDatabase" property for this but it kept returning empty string. It returns the name of the msi only

Re: [WiX-users] Name of the msi with in the install file

2008-02-23 Thread Dominik Guder
vishnum wrote: > > And where does OriginalDatabase property gets set (As in after/before > which event). > Hi, before any "Sequence" e.g. InstallUISequence. (doing an /l*v helps :) I'm just wondering if you are writing a custom action and someother uses it and he doesn't know what this ca is

Re: [WiX-users] Name of the msi with in the install file

2008-02-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Wilson, Phil" <[EMAIL PROTECTED]> writes: > I believe this is always available, which is why it works better than > SourceDir (which needs ResolveSource). I suppose that depends on what you want to use SourceDir for; the database isn't always in the location

Re: [WiX-users] Name of the msi with in the install file

2008-02-22 Thread Wilson, Phil
@lists.sourceforge.net Subject: Re: [WiX-users] Name of the msi with in the install file Hello: And where does OriginalDatabase property gets set (As in after/before which event). Thanks, Vishnu -- View this message in context: http://www.nabble.com/Name-of-the-msi-with-in-the-install-file-tp15583249p15627797

Re: [WiX-users] Name of the msi with in the install file

2008-02-21 Thread vishnum
Hello: And where does OriginalDatabase property gets set (As in after/before which event). Thanks, Vishnu -- View this message in context: http://www.nabble.com/Name-of-the-msi-with-in-the-install-file-tp15583249p15627797.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Name of the msi with in the install file

2008-02-20 Thread vishnum
Hello: I read the post on data driven custom actions but I feel my case is a little different from the one there. Since the name of my MSI can be anything (which I dont know when I am creating the MSI) and the users who are going to install the MSI are not aware of custom table (all they know is

Re: [WiX-users] Name of the msi with in the install file

2008-02-20 Thread Richard
In article <[EMAIL PROTECTED]>, Dominik Guder <[EMAIL PROTECTED]> writes: > But I think this approach is somewhat odd. As a better solution I would > suggest to get the custom action > beeing data driven [...] Particularly since people can rename the MSI file and then your "do this or that

Re: [WiX-users] Name of the msi with in the install file

2008-02-20 Thread Dominik Guder
vishnum wrote: > > I have a condition inside my install file based on the name of the msi > for e.g: if my msi is named X then i set some registry keys but if its > name is Y then I set it to something else... > > So is it possible to get the name of the msi inside the install file or > Custom

[WiX-users] Name of the msi with in the install file

2008-02-19 Thread vishnum
Hello All: I have a condition inside my install file based on the name of the msi for e.g: if my msi is named X then i set some registry keys but if its name is Y then I set it to something else... So is it possible to get the name of the msi inside the install file or Custom Action. Regards, V