471,310 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 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 1670
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Tony Wright | last post: by
14 posts views Thread by David W. Fenton | last post: by
1 post views Thread by brian.oneil2 | last post: by
4 posts views Thread by David Killian Woods | last post: by

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.