473,785 Members | 2,234 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installer question: Directory produced by the setup project

When I build my setup project, I get three files: setup.exe, setup.ini. and
myapplication.m si.

These go into a folder called (setup project)/bin/Release. If any other
files are in that folder, they get deleted.

What I'd *like* is that when I build the setup project, the files that it
creates should go into a directory that I specify, and not delete any other
files that are already in it. That way I can maintain an image of my
install CD, which contains some additional material.

How can I make it do this?

Thanks,
--
Michael Covington, Ph.D.
Consultant
www.covingtoninnovations.com

Nov 15 '05 #1
1 2110
I'm not sure you can prevent the build from cleaning the output directory.
The build output dir is kind of "owned" by the build engine, and it needs
to so that it builds the right set of files. For example, if you are
building loose, and you build once, then remove a file from your setup and
build again. If the build output directory isn't cleaned, it will leave
behind a file you removed. Bad mojo.

So, the best solution is to copy the files manually or using a script to
your CD image after building.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Michael A. Covington" <lo**@www.covin gtoninnovations .com.for.addres s>Subject: Installer question: Directory produced by the setup project
Date: Sat, 8 Nov 2003 15:47:31 -0500
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <eQ************ **@TK2MSFTNGP10 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: 66-23-192-94.clients.spee dfactory.net 66.23.192.94
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1976 37
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp

When I build my setup project, I get three files: setup.exe, setup.ini. and
myapplication. msi.

These go into a folder called (setup project)/bin/Release. If any other
files are in that folder, they get deleted.

What I'd *like* is that when I build the setup project, the files that it
creates should go into a directory that I specify, and not delete any other
files that are already in it. That way I can maintain an image of my
install CD, which contains some additional material.

How can I make it do this?

Thanks,
--
Michael Covington, Ph.D.
Consultant
www.covingtoninnovations.com


Nov 15 '05 #2

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

Similar topics

1
2104
by: HyperX | last post by:
Hey guys, How can I see the code of the installer class? I know that I have to right click on my object class, -> Add Item -> Code -> installer class... The actual question is, I cannot see "Code" in my "Add Item" Menu. In order to see this 'Add Installer code'... Do I need to install any plugin?
5
4929
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET 1.1 -> MsiNetAssembly Support.) I have a few issues and questions regarding the MSI and its properties. * This may be my biggest annoyance at the moment. When the installer creates the target directory, it's setting them as read-only. When the...
2
5367
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically works. Now, I am wondering if there is any way to change the directory that the installer installs the files to. I want to be able to put my files in a specified directory (user specified is good, but i don't mind hardcoding the path either) and...
4
1899
by: Michael A. Covington | last post by:
Greetings, I am working on a program that is in beta testing and goes through a new version every week or so. When there's a new version, go into the setup project change the Product Code but leave the Upgrade Code and version number unchanged. RemovePreviousVersions is set to True.
1
1241
by: Erik J Sawyer | last post by:
What's involved in creating a web setup project that installs directly in the root of a site (e.g. inetpub\wwwroot)? The project wizard always wants to create a virtual directory, and I don't want that. Am I stuck having to copy the files manually? Erik J Sawyer
1
1005
by: Cezar | last post by:
Hi, I'm trying to use VS.NET to create an installer for a Web application. I added the files, setup the virtual directory, build the project. When I run the .msi file, the virtual directory is created and the default document is defalt.aspx. How can I change that or just add another one to the list? I want to add index.asp. Also, can I use this installer to create the MSSQL database for the application? Should it be a different setup...
4
4419
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create shortcut to my program/utility (2) Entry in Windows' Start --> Program Menu. Actually in my VB.Net solution I have two projects (1) MYPROGRAM (2) MYPROGRAM_INSTALLER. MYPROGRAM is a "Windows Application". MYPROGRAM_INSTALLER is a "SetUp Wizard"...
0
950
by: stevebarker | last post by:
Hi guys, I've got a quick question about installers in .NET. Any advice would be gratefully received! I'm writing a .NET Windows application that needs an installer. I'd really like the set up files to comprise of a SetUp.exe file, an MSI and a CAB file containing all the files (exes, dlls, etc...) for my application. Then, when the SetUp (or MSI) is launched, the installer unpacks what is in the CAB file and deploys it to the install...
1
2158
by: sonnyz | last post by:
Hi everyone, (Using Visual Studio 2005) Assume I have a project with a single class named "MyClass.cs" and a setup project in the same solution. I know that if I want to include the debug symbols (MyClass.pdb) for that class in the installer then I add "Debug Symbols" to the Application folder. Thats the easy part. Next assume I am referencing a dll named "YourClass.dll" in the project. When I build the project I see 4 files in the debug...
0
9645
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
10341
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10155
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
10095
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,...
1
7502
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
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4054
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 we have to send another system
2
3656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2881
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.