how can I find out the location from where the msi installer is being run

Viewed 3339

Can anyone tell me how can I find out the location from where the msi installer is being run.

For example I have my Sample.msi and Manuals folder in the folder InstallerExample on the Desktop.

I need this information so that I can use it in File/@Source, like the one given below.

<File Id="MyFileId" Name="MyFile" Source="[SourceDir]Manuals" KeyPath="yes" >

SourceDir should have value C:\Users\bla\Desktop\InstallerExample\Manuals

It will be great if anyone can please help me with this.

1 Answers
Related