Where do the Files Go on Installation

  • Thread starter Thread starter Henry Jones
  • Start date Start date
H

Henry Jones

I am using VB.NET 2005 and built and published my solution. When installing
on a clients PC, where does the EXE go? Assume my project is Test.
Shouldn't it be installed in C:\Program Files\Test ? It isn't and I don't
know where to look. ON the Start menu, the Project shows up with a
shortcut and I can run the program, but I don't know where it is stored.

Thanks,

Henry
 
Hello Henry,

In general the directory should have the company name and then the project
name, like Program Files\<yourCompany>\Test
The same for the keeping data into the registry

HJ> am using VB.NET 2005 and built and published my solution. When
HJ> installing on a clients PC, where does the EXE go? Assume my project
HJ> is Test. Shouldn't it be installed in C:\Program Files\Test ? It
HJ> isn't and I don't know where to look. ON the Start menu, the Project
HJ> shows up with a shortcut and I can run the program, but I don't know
HJ> where it is stored.
HJ>
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
I went to check to see if the project was installed where you said it would
be but it isn't there. I'm not sure where it is. And, another question,
how can I change the location if I wish.

Thanks.

H
 
I went to another users PC and found where the software was installed:

C:\Documents and Settings\Sam\Local
Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH

How on earth was the project installed in this location? I searched through
the options in Visual Studio 2005 and couldn't find a place to change the
location of an install.
 
Hello Henry,

Have u tried to add CompanyName, project name to the attributes into AssemblyInfo.cs
file?

HJ> I went to another users PC and found where the software was
HJ> installed:
HJ>
HJ> C:\Documents and Settings\Sam\Local
HJ> Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH
HJ>
HJ> How on earth was the project installed in this location? I searched
HJ> through the options in Visual Studio 2005 and couldn't find a place
HJ> to change the location of an install.
HJ>
HJ> HJ>---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
Yes,

CompanyName and ProjectName are already there.

<Assembly: AssemblyCompany("MyCompany")>

<Assembly: AssemblyProduct("Test")>


Michael Nemtsev said:
Hello Henry,

Have u tried to add CompanyName, project name to the attributes into
AssemblyInfo.cs file?

HJ> I went to another users PC and found where the software was
HJ> installed:
HJ> HJ> C:\Documents and Settings\Sam\Local
HJ> Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH
HJ> HJ> How on earth was the project installed in this location? I
searched
HJ> through the options in Visual Studio 2005 and couldn't find a place
HJ> to change the location of an install.
HJ> HJ>---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche
 
You are using Click-Once right? That is the default directory and I didn't
believe you can change it.



Henry Jones said:
Yes,

CompanyName and ProjectName are already there.

<Assembly: AssemblyCompany("MyCompany")>

<Assembly: AssemblyProduct("Test")>


Michael Nemtsev said:
Hello Henry,

Have u tried to add CompanyName, project name to the attributes into
AssemblyInfo.cs file?

HJ> I went to another users PC and found where the software was
HJ> installed:
HJ> HJ> C:\Documents and Settings\Sam\Local
HJ> Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH
HJ> HJ> How on earth was the project installed in this location? I
searched
HJ> through the options in Visual Studio 2005 and couldn't find a place
HJ> to change the location of an install.
HJ> HJ>
I am using VB.NET 2005 and built and published my solution. When
installing on a clients PC, where does the EXE go? Assume my project
is Test. Shouldn't it be installed in C:\Program Files\Test ? It
isn't and I don't know where to look. ON the Start menu, the
Project shows up with a shortcut and I can run the program, but I
don't know where it is stored.

Thanks,

Henry
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche
 
What is Click-Once? Another poster said that the files should default to
\MyCompany\Test but they don't go there. Any explanation would help.

Thanks
Mel said:
You are using Click-Once right? That is the default directory and I
didn't believe you can change it.



Henry Jones said:
Yes,

CompanyName and ProjectName are already there.

<Assembly: AssemblyCompany("MyCompany")>

<Assembly: AssemblyProduct("Test")>


Michael Nemtsev said:
Hello Henry,

Have u tried to add CompanyName, project name to the attributes into
AssemblyInfo.cs file?

HJ> I went to another users PC and found where the software was
HJ> installed:
HJ> HJ> C:\Documents and Settings\Sam\Local
HJ> Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH
HJ> HJ> How on earth was the project installed in this location? I
searched
HJ> through the options in Visual Studio 2005 and couldn't find a place
HJ> to change the location of an install.
HJ> HJ>
I am using VB.NET 2005 and built and published my solution. When
installing on a clients PC, where does the EXE go? Assume my project
is Test. Shouldn't it be installed in C:\Program Files\Test ? It
isn't and I don't know where to look. ON the Start menu, the
Project shows up with a shortcut and I can run the program, but I
don't know where it is stored.

Thanks,

Henry

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche
 
Hello Henry,

You didn't specified which installed do u use, if u use InstalledShied that
what I was writing before is right.
But If u used VS 2005 feauture "Publish" (which is ClickOnce istaller) then
a path a little bit different
You can't specify where is you going to install your app. Only Windows is
responsible for this and it install your apps into
<sysdrive>:\Documents and Settings\<User>\Local Settings\Apps\ in one of
the some random generated directory

HJ> What is Click-Once? Another poster said that the files should
HJ> default to \MyCompany\Test but they don't go there. Any explanation
HJ> would help.
HJ>
HJ> Thanks
HJ> "Mel said:
You are using Click-Once right? That is the default directory and I
didn't believe you can change it.

Yes,

CompanyName and ProjectName are already there.

<Assembly: AssemblyCompany("MyCompany")>

<Assembly: AssemblyProduct("Test")>


Hello Henry,

Have u tried to add CompanyName, project name to the attributes
into AssemblyInfo.cs file?

HJ> I went to another users PC and found where the software was
HJ> installed:
HJ> HJ> C:\Documents and Settings\Sam\Local
HJ> Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH
HJ> HJ> How on earth was the project installed in this location? I
searched
HJ> through the options in Visual Studio 2005 and couldn't find a
place
HJ> to change the location of an install.
HJ> HJ>
I am using VB.NET 2005 and built and published my solution. When
installing on a clients PC, where does the EXE go? Assume my
project is Test. Shouldn't it be installed in C:\Program
Files\Test ? It isn't and I don't know where to look. ON the
Start menu, the Project shows up with a shortcut and I can run
the program, but I don't know where it is stored.

Thanks,

Henry

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its
opponents do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Thanks for the information. I am using the VS 2005 Publish option and you
would think that the programmer would have control over where the app was
installed, but now I know we don't. I appreciate the info.

H

Michael Nemtsev said:
Hello Henry,

You didn't specified which installed do u use, if u use InstalledShied
that what I was writing before is right.
But If u used VS 2005 feauture "Publish" (which is ClickOnce istaller)
then a path a little bit different
You can't specify where is you going to install your app. Only Windows is
responsible for this and it install your apps into <sysdrive>:\Documents
and Settings\<User>\Local Settings\Apps\ in one of the some random
generated directory
HJ> What is Click-Once? Another poster said that the files should
HJ> default to \MyCompany\Test but they don't go there. Any explanation
HJ> would help.
HJ> HJ> Thanks
HJ> "Mel said:
You are using Click-Once right? That is the default directory and I
didn't believe you can change it.


Yes,

CompanyName and ProjectName are already there.

<Assembly: AssemblyCompany("MyCompany")>

<Assembly: AssemblyProduct("Test")>


Hello Henry,

Have u tried to add CompanyName, project name to the attributes
into AssemblyInfo.cs file?

HJ> I went to another users PC and found where the software was
HJ> installed:
HJ> HJ> C:\Documents and Settings\Sam\Local
HJ> Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH
HJ> HJ> How on earth was the project installed in this location? I
searched
HJ> through the options in Visual Studio 2005 and couldn't find a
place
HJ> to change the location of an install.
HJ> HJ>
I am using VB.NET 2005 and built and published my solution. When
installing on a clients PC, where does the EXE go? Assume my
project is Test. Shouldn't it be installed in C:\Program
Files\Test ? It isn't and I don't know where to look. ON the
Start menu, the Project shows up with a shortcut and I can run
the program, but I don't know where it is stored.

Thanks,

Henry

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its
opponents do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche
 
Hello Henry,

I think that the least of option the user has is the best :) Let the Windows
decide what to do :)

HJ> Thanks for the information. I am using the VS 2005 Publish option
HJ> and you would think that the programmer would have control over
HJ> where the app was installed, but now I know we don't. I appreciate
HJ> the info.
HJ>
HJ> H
HJ>
HJ> HJ>
Hello Henry,

You didn't specified which installed do u use, if u use
InstalledShied
that what I was writing before is right.
But If u used VS 2005 feauture "Publish" (which is ClickOnce
istaller)
then a path a little bit different
You can't specify where is you going to install your app. Only
Windows is
responsible for this and it install your apps into
<sysdrive>:\Documents
and Settings\<User>\Local Settings\Apps\ in one of the some random
generated directory
HJ> What is Click-Once? Another poster said that the files should
HJ> default to \MyCompany\Test but they don't go there. Any
explanation
HJ> would help.
HJ> HJ> Thanks
HJ> "Mel said:
You are using Click-Once right? That is the default directory and
I didn't believe you can change it.

Yes,

CompanyName and ProjectName are already there.

<Assembly: AssemblyCompany("MyCompany")>

<Assembly: AssemblyProduct("Test")>


Hello Henry,

Have u tried to add CompanyName, project name to the attributes
into AssemblyInfo.cs file?

HJ> I went to another users PC and found where the software was
HJ> installed:
HJ> HJ> C:\Documents and Settings\Sam\Local
HJ> Settings\Apps\2.0\ADAE44VZ.KCW\8216AP8Y.LHH
HJ> HJ> How on earth was the project installed in this location?
I
searched
HJ> through the options in Visual Studio 2005 and couldn't find a
place
HJ> to change the location of an install.
HJ> HJ>
I am using VB.NET 2005 and built and published my solution.
When installing on a clients PC, where does the EXE go? Assume
my project is Test. Shouldn't it be installed in C:\Program
Files\Test ? It isn't and I don't know where to look. ON the
Start menu, the Project shows up with a shortcut and I can run
the program, but I don't know where it is stored.

Thanks,

Henry

---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its
opponents do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev [C# MVP] :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
Back
Top