473,595 Members | 2,636 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1772
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
16239
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 Server might not be running or the path exists and is redirected to another machine. Please check the status of this virtual directory in the Internet Services Manager."
3
3616
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 is to change the machine policy (those 3 options are known as policy levels). Under the Intranet zone groop, add a new code group with a Membership condition of type Site and value of the machine you want to trust. Then set the Permission Set to be...
14
9729
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 the cause is fundamentally a networking problem is also making me pull my hair out. Some history: The network is composed of five computers dating back to 1995, each purchased one at a time, and each having a different OS, etc. Until
1
6562
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. TIA, Brian
4
2623
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 compile without a problem. Below is the error log generated from a wizard-created project -- I didn't add any code myself. It was created in a folder accessed from browsing through the network neighborhood, but I've also tried it using mapped...
10
4104
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 will keep a copy of the applicaiton and all it's code on one of the client machines connected to the local area network at the customers. This machine has a full blown copy of Visual Studio 2003. SQL Server 2000 is the back-end, both at my office...
6
2953
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 from VB6 and other legacy languages/systems (Pure VBScript, DataEase, etc.) over to .NET. Currently, *all* user data is stored on network shares. When a user logs in to a workstation, their home drive is mounted from one share, all of their...
2
1259
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 network it requests for a network authentication. after entering the user name and password it works fine. i copied this project to a stand alone system and tried opening it in vs2003. it requested me for network authentication. after that...
1
9625
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 running windows xp. Further, I have setup a full domain controller environment. I have managed to write the code to add the network printer and it works fine when installing the printer on the same machine the code is executing from i.e the server or...
0
7955
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8379
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8019
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6674
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5839
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5418
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3873
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3911
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1223
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.