Victor Reboucas
6/9/2006 6:59:00 PM
During my research I found a MSI method named MsiGetSourcePath, but all the
code samples where written in C++ (I'm a Vb.Net developer).
So, is there any way to reference the current installer from my custom
action to read this property?
thanks a lot,
regards,
Victor
"Phil Wilson" <pdjwilson@nospam.cox.net> wrote in message
news:eeDD%23d9iGHA.2220@TK2MSFTNGP05.phx.gbl...
> What's the context here? Are talking about code running as a custom action
> called from your MSI setup? Something else?
>
> --
> Phil Wilson
> [Microsoft MVP-Windows Installer]
> "VR" <vcreb@hotmail.com> wrote in message
> news:%23JAews0iGHA.4344@TK2MSFTNGP05.phx.gbl...
>> Hi, I'm trying to find out a way to get the CD drive from wich my setup
>> is being run.
>>
>> Let's say if the user runs the setup from the local computer (c:\docs and
>> setts\user name\desktop\) I would like to retreive "C:\" or "D:\" from
>> the CD, etc.
>>
>> Is there any way to do this?
>>
>> PS: I'm trying using Environment.CurrentDirectory but (at least during
>> setup) it points to c:\windows\system32\, not to the CD drive setup file
>>
>> PS2: I'm using VS.Net 2003 + .Net Framework 1.1
>>
>>
>> thanks for any clue,
>> regards,
>> Victor
>>
>
>