473,471 Members | 4,648 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with installer made in VS 2003.NET

Hi, I have made an applicaiton and also a setup project in Visual Studio
that gives me these three files in a folder.

Seup.ini
Setup.msi
Setup.exe

If i run the setup.exe and install the program the program installes fine
and opens fine from shortcuts on desktop that is created during the
installation

BUT... if i also remove the installation file form the computer (since I
feel they are not needed anymore after it's installed) and then try to open
the program from the shortcut.. it complains about that it cannot find the
MSI file...

Why would my program need to have the MSI file accessible still after it is
installed and how can I prevent this?

Best Regards/
Lars Netzel

Jan 27 '06 #1
5 962
Hi,

Programs that use an msi for installation are self repairing. When
you start your application the msi checks real quick to see if all the files
are still there. If they are not it will reinstall them. Use xcopy
deployment to avoid this behavior.

Ken
--------------
"Lars Netzel" <ui****@adf.se> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
Hi, I have made an applicaiton and also a setup project in Visual Studio
that gives me these three files in a folder.

Seup.ini
Setup.msi
Setup.exe

If i run the setup.exe and install the program the program installes fine
and opens fine from shortcuts on desktop that is created during the
installation

BUT... if i also remove the installation file form the computer (since I
feel they are not needed anymore after it's installed) and then try to
open the program from the shortcut.. it complains about that it cannot
find the MSI file...

Why would my program need to have the MSI file accessible still after it
is installed and how can I prevent this?

Best Regards/
Lars Netzel

Jan 27 '06 #2
What about using other packaging software like, Nullsoft, se or
InstallShield ... those wouldn't need the original install file left on the
drive right?

/Las
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:ef**************@TK2MSFTNGP12.phx.gbl...
Hi,

Programs that use an msi for installation are self repairing. When
you start your application the msi checks real quick to see if all the
files are still there. If they are not it will reinstall them. Use xcopy
deployment to avoid this behavior.

Ken
--------------
"Lars Netzel" <ui****@adf.se> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
Hi, I have made an applicaiton and also a setup project in Visual Studio
that gives me these three files in a folder.

Seup.ini
Setup.msi
Setup.exe

If i run the setup.exe and install the program the program installes fine
and opens fine from shortcuts on desktop that is created during the
installation

BUT... if i also remove the installation file form the computer (since I
feel they are not needed anymore after it's installed) and then try to
open the program from the shortcut.. it complains about that it cannot
find the MSI file...

Why would my program need to have the MSI file accessible still after it
is installed and how can I prevent this?

Best Regards/
Lars Netzel


Jan 30 '06 #3
Lars, Visual Studio installer has very large overhead and produces
relatively big setup files.

Try Agentix Installer - http://www.aginstaller.com
It creates single-exe setups with extremely low (50Kb only) overhead,
has multilingual interface and is easy to use.

Jan 30 '06 #4
Agentix,
Lars, Visual Studio installer has very large overhead and produces
relatively big setup files.

I assume you are talking about Visual Studio 6. Otherwise I am interested
what you call Big.

Cor
Jan 30 '06 #5
Cor Ligthert [MVP] wrote:
I assume you are talking about Visual Studio 6. Otherwise I am interested
what you call Big.


Does VS 2003.NET make setups with an overhead of the same small size
like Agentix Installer?
For ex. if I have my application 50Kb in size, what will be overall
size of a setup file? With Agentix Installer I will have my setup no
more than 100Kb.

Feb 2 '06 #6

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

Similar topics

2
by: hellprout | last post by:
hi , i want to use py2exe or installer5b5_5 with my python source so no problem when i execute the source , but when i use installer or py2exe to create an exe file on windows , i have some...
1
by: Pierre Rouleau | last post by:
Hi all, When building a exe for a Python application under Windows XP with The McMillan installer, the insttaltion succeeds but when I run the resulting executable the application tracebacks...
5
by: krisk | last post by:
Could not find ansewr: in ProjectInstaller, RunInstallerAttribute: ..... this.serviceInstaller1.ServiceName = MyServiceName; in the code: public class MyService :...
0
by: M. Posseth | last post by:
i made a installer wich seems to function fine however if i log on as the machines administrator i have the option to install just for me , or for all users on the computer well if i select...
0
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. ...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
2
by: | last post by:
Hi! I will install "Remote Components" on my server to get SQl debbuging working. when I click on the "Install Full" button (To install full remote debugging on all operating systems) I get...
3
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
3
by: DC Gringo | last post by:
Hi, I'm trying to use a custom action to modify a database (rather than create one) using the VS.NET '03's help example called "Custom Action to Create Database During Installation". I've made...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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...
0
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...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.