Hi,
I've completed my windows project in C# and I want to build a nice setup which has the following features:
1.Shows the popular I agree/disagree page.
2.Shows which files are being copied/updated.
3.any other custom activity I want to add.
I've built 2-3 basic setups in VS2008(setup wizard) but I don't know if it is possible to a...
Hi.I want to make setup for my project and i have one folder "Resource"
in this path ..\bin\Debug.now how can i make setup file ,that when
i install setup "Resource" folder with it's files become created in the
install folder ?
my database is sqlexpress for my database file what
should i do?it's folder is App_Data in ..\bin\Debug path.Th...
My applications have a handful of config files, each one particular to the machine it's being deployed to (dev, production, etc.) I'm wanting to add them to the setup project, use radio buttons to select one and then have a script (or maybe custom action?) rename the selected files to connectionStrings.config, settings.config, etc.
Is t...
I'm working with a co-worker on this, will try on my own machine shortly, but wanted to get the question posted quickly. I've also been Googling for step-by-step "how to setup for WCF service" and not finding anything on target. I've done it before at a prior company, but forgetting the details now.
Are .SVC files automatically inclu...
Hi
I have the following code from the ms site and I want to set the installation path from with in code (don't ask but trust me I need to!)
so how do I access and set the installation path from a custom action?
public partial class Installer1 : System.Configuration.Install.Installer
{
public Installer1()
{
...
I have checkboxes and a dialogue added.
I need to be able to read the state of the boxes from a custom action. I also need the path which I have but I can't find how to read the state of the checkboxes.
How can this be done?
public override void Commit(IDictionary savedState)
{
base.Commit(savedState);
String TargetDirectory =...
I'm looking to implement a setup package for my multi-project solution that installs a Windows Service as well as a Winforms application. Both the service and the application have an ability to update themselves via a custom web-based utility that I wrote.
So basically, the Windows service updates its own DLL's on a regular basis if it ...
Is it possible to add a custom buildaction which allows the user to select the wanted configfilesettings during installation?
My issue is that I have a large configfile (and logfile) which currently includes settings for developmentmachines, testenvironments, stagingenvironments and production. I would like the installer to ask me (for ...
I'm writing an installer module and I need to add a value to the system %PATH% variable permanently. How can I modify it from the C# installer code?
...
Hi,
I am making a setup project for my dependent project in the same solution, i have a icon for my dependent project which i set in project properties, i have also added this icon to setup project in the application folder, i want this icon to appear in the add/remove programs dialog but so far only default no icon is appearing.
this ....
Hello,
I have build a program in Visual Studio. The program creates a logfile and writes into it while the program is running. Therefore I constructed an installer (setup-project), that should set write permissions for my program-folder regardless which user works with the program.
currently it looks like this:
// ...
}
InitializeCom...
Hi all,
I want to install my app or (just access db)to AppData folder to enable write for it.
so, how can I do that in setup project.
Is there just parameter or should I wirte custom action.
Thx.
...
I have an assembly installed to the GAC. We will always only have one version of this assembly. I have created a setup project to install this assembly to the gac. What I want to happen is for the old version to be removed from the gac before installing the new one. I have done the following:
Set the RemovePreviousVersion property o...
I need to create four custom folders that are on the root of the target machine (C:\Folder1). I've created folders and placed files in .NET setup projects in the past, but I'm usually using pre-configured locations such as 'application folder' 'common files folder', 'program files folder', etc. I can create a custom folder, but how can...
I've created my first setup project using Visual Studio 2010. I've noticed that when I build the setup project it generates an MSI installer file and a setup.exe executable. However, I seem to be able to just right click on the MSI file and choose install to install my application rather then running setup.exe.
Does the setup.exe file ...
The users that will be installing and using the application I created may not have to access to the Program Files folder. Therefore, my boss and I thought it best that we put the SQLite database in a public location, but not the desktop. We were thinking of the Application Data folder on the All Users profile, but when I got to my othe...
I'm trying to create a setup project.
On install, I want it to create some registry keys and delete others.
On uninstall, I want it to do the opposite.
Regarding creation of keys on install and removing them on uninstall - no problem, it's built into the setup project.
Problem is with removing keys at install (and adding them back at ...
Hello...How do I specify Default Location of where my Product is to be installed and create additional folders for Log Files, Temporary Files?
For instance, if I decide to install every instance of my application in the path
C:\Documents and Settings\\Application Data\ is where I want to install my Application, that is, the DLL's, Exe...
In my VS Setup & Deployment project, I want to create a desktop shortcut whose name is set to the [ProductName] property. Instead of using the property, the setup program simply treats [ProductName] as a string literal. How can I get it to behave the way I want?
...
Hi Guys. I'm not sure if this is the right forum or not, since I have no idea what's causing this problem. I have a WPF application that was compiled into a setup project. After building the setup project, there are two files: setup.exe and [Program Name].msi. I put both files in the same directory in an ASP.NET website, served via I...