Setup.exe path

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi everyone
I would like to know where the user is trying to install my application (e.g. from a CD, harddisk, network, etc.) during the installation process.

I tried the (System.Windows.Forms.Application.StartupPath) but it returned "C:\Windows\Installer" path.

Is there a way to know the installation path?
 
* =?Utf-8?B?QW1qYWQ=?= said:
I would like to know where the user is trying to install my application (e.g. from a CD, harddisk, network, etc.) during the installation process.

I tried the (System.Windows.Forms.Application.StartupPath) but it returned "C:\Windows\Installer" path.

Where did you place the call to 'Application.StartupPath'?
 
Herfried K. Wagner said:
Where did you place the call to 'Application.StartupPath'?

I placed it in a module (which is a seperate Project in my Solution) that runs at the end of the installation Project.

Amjad
 
Back
Top