By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,571 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,571 IT Pros & Developers. It's quick & easy.

Setup.exe path

P: n/a
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?

Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* =?Utf-8?B?QW1qYWQ=?= <Am***@discussions.microsoft.com> scripsit:
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 [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

P: n/a


"Herfried K. Wagner [MVP]" wrote:

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
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.