473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Network Installing my project

I created a setup.exe/setup.msi installer using Visual Studio for my C#
application, then copied it over to the network for others to use.

It installs fine and the application works like it is supposed to. However,
whenever someone then launches the app from the shortcut that I had my setup
application placed on the desktop, it looks like the program is installing
something before the application launches.

What causes this? How can I prevent it?

I just so happened to make some minor tweaks to the app, so I regenerated
the setup and copied it out to the network. I forgot to uninstall/reinstall
it on my machine whenever I went to test it, and I got the message that the
files didn't match what was on our network, and that the application could
not run.

That's bad!

In my C# project, I had to sign the assembly with a strong name key file,
and I enabled ClickOnce. Are one of these the cause of my problem? (Under the
Publish settings, I have already unchecked "App should check for updates")

Thanks for your time, and I look forward to someone's insite.
Aug 12 '08 #1
4 1753
I created a setup.exe/setup.msi installer using Visual Studio for my
C# application, then copied it over to the network for others to use.

It installs fine and the application works like it is supposed to.
However, whenever someone then launches the app from the shortcut that
I had my setup application placed on the desktop, it looks like the
program is installing something before the application launches.

What causes this? How can I prevent it?
Did you have a look at the process explorer? Or what was the reason for the
conclusion that it is installing smth?
>
I just so happened to make some minor tweaks to the app, so I
regenerated the setup and copied it out to the network. I forgot to
uninstall/reinstall it on my machine whenever I went to test it, and I
got the message that the files didn't match what was on our network,
and that the application could not run.
Does it works if you are installing it from the local machine?

Regards,
Andrei Varanovich [C# MVP]
Aug 13 '08 #2
Hi Mr. Varanovich,
Did you have a look at the process explorer? Or what was the reason for the
conclusion that it is installing smth? ("Andrei Varanovich [C# MVP]")
What is the Process Explorer? How do I tell if it is installing SMTH? What
is SMTH?
Does it works if you are installing it from the local machine?
("Andrei Varanovich [C# MVP]")
It works as long as the setup.exe file is located on the machine it was
installed on. If I install from a CD and remove the CD from my drive, I get
the error. If I copy the files to the hard drive, the program runs fine until
the setup.exe file is deleted or moved.

Are Microsoft's Visual Studio Installers only meant for websites? I can't
seem to find a way to tell Visual Studio that I do *not* want to have any
ClickOnce abilities on my setup.exe file.
Aug 13 '08 #3
What is the Process Explorer? How do I tell if it is installing SMTH?
What is SMTH?
http://en.wikipedia.org/wiki/Process_Explorer
http://technet.microsoft.com/en-us/s.../bb896653.aspx

smth = something

Are Microsoft's Visual Studio Installers only meant for websites? I
can't seem to find a way to tell Visual Studio that I do *not* want to
have any ClickOnce abilities on my setup.exe file.
You are welcomed to create a simple msi, this is a simple setup project,
not ClickOnce. New Project --Other Project Types --Setup and Deployment.

Thanks,
Andrei
Aug 13 '08 #4
The project I have now (that does not work without the setup.exe and
setup.msi files) was created using New Project -Ohter Project Types ->
Setup and Deployment.

I want to know how to make it so that my app can run without having to keep
access to these setup files.

FYI: Using Process Explorer, I found that msiexec.exe is the file that keeps
wanting to run every time I hope my project after it has been installed.

"Andrei Varanovich [C# MVP]" wrote:
Are Microsoft's Visual Studio Installers only meant for websites? I
can't seem to find a way to tell Visual Studio that I do *not* want to
have any ClickOnce abilities on my setup.exe file.

You are welcomed to create a simple msi, this is a simple setup project,
not ClickOnce. New Project --Other Project Types --Setup and Deployment.

Thanks,
Andrei
Aug 13 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
3
by: Lewis | last post by:
I have "My Documents" redirected to a network share but when I go to open a project it says that the share is not fully trusted. I found this info: > The simplest (least work) in this situation...
14
by: David W. Fenton | last post by:
I'm no stranger to this error message, but I have a client who is experiencing it, but, fortunately, without any actual data corruption, and it's driving them made. Their inability to grasp that...
1
by: brian.oneil2 | last post by:
Is there a way to install this onto a network file share and allow a team to access it? I would say share a CD from a networked CD drive, but there are multiple CD's that would have to be inserted....
4
by: David Killian Woods | last post by:
I just installed VC++.NET and haven't had much luck. It just won't compile anything that isn't stored on a local hard drive. Local projects are fine (well, other than my stupid mistakes) and...
10
by: Woody Splawn | last post by:
I have been developing a ClientServer application on one machine at my office but the time has come to transfer it to the customer. The customer is running a Windows 2000 local area network. I...
6
by: tendim | last post by:
G'day group. Currently our organization us using VB6 based applications, and I am trying to push forward and migrate some of the smaller things to VB.NET, eventually migrating all applications...
2
by: karthi84 | last post by:
hi, i have created a web project in visual studio 2003 in a networked system and it worked fine. when i tried to access that project through a browser from another system in the same...
1
by: ekynox | last post by:
Hi guys, have been playing with WMI to add a network printer connection to a Windows XP pc. My environment consists of a server running Windows Server 2003 and Visual Studio 2005 and a test pc...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.