setup

How to create website shortcut in a VS Setup project?

How do I create a shortcut to my website in the VS 2008 Setup project? I'd like to have a shortcut created inside User's Program Menu\MyProgram , after the application is installed. I could create a shortcut to the application itself but I have no idea how to make a shortcut to an http:// address. Can anyone help? ...

Problem building a Setup project

I'm working on a tool to simplify an application's deployment. Hence I'm aiming to automate the build of the setup project. The Situation: When I use Visual Studio to build the setup project this, creates the msi and exe files and concludes successfully. The problem occurs when I run a command in the command prompt, I keep getting this ...

How can I make a setup that makes my software require administrative priviliges while installation?

I have created an application that writes some data to the root folder of the directory in which it was installed (in Program Files). But under Windows Vista, the program is unable to write to the directory because the UAC restricts administrative privileges. I need to be able to do the following Write a file in the folder where the p...

ASP.NET Web Setup

I have 3 web projects in a Visual studio solution.I want to create a single web setup project which should install all 3 web projects in their virtual directories.So how to create a single web setup project which supports multiple web application installation? ...

Problem deploying DLLs to the GAC in a Visual Studio Setup Project

"Assembly [AssemblyName] must have a shared name to be installed globally" I am getting this error message when I try to deploy some component DLLs for my application to the Global Assembly Cache. What is a shared name and how do i make sure my DLLs have one? ...

Which settings should be thoroughly evaluated in SQL Server?

I am not a DBA by any means, but being a web developer means that I will have to install, setup, and administer databases. In the past, I have just followed the default installation for SQL Server. Over time, I have grown smarter and learned that default installations almost always leave doors open and leak. So...What are the critical s...

Access 2007 Engine: How do I include it in my .msi installer?

Hi guys. I have a .NET application which uses an accdb file (MS Access 2007 format) as its database. To install this app on another machine I need to install the Access engine on that machine. Microsoft has this file: AccessDatabaseEngine.exe which includes the engine, but when extracted during installation, runs another .msi installer....

What extra steps do you take when creating MSI installers for Vista?

I have a very simple Setup project that copies three dlls into the GAC. That's all it has to do. It works fine in XP, but on a Vista machine, it errors out stating that it cannot write to the file and to check permissions. I'm sure this has to do with some impersonation nonsense in Vista, but I'm not sure how to address it. Has anyone e...

Settings Page on First Load

I have an application thats going to use Active Directory for Authentication. This will be used in mnay locaitons, so I want the user to be able to input their AD domain into a settings file. So, the first time they run this app, they won't be able to login, because they haven't entered the AD Domain name, so want I want to do, is check ...

How do you set up your virtual machines?

Recently the buzz of virtualization has reached my workplace where developers trying out virtual machines on their computers. Earlier I've been hearing from several different developers about setting up virtual machine in their desktop computers for sake of keeping their development environments clean. There are plenty of Virtual Machin...

Custom setup creation in c#

Hi Everybody.. can you please help me to find solution for my problem that i mentioned below? Actually, I have created custom installer for my application. In which, i have included a form for asking install location. How to pass this location to the installer. I had set the value at context.paramenter["targetdir"]=text1.text. but insta...

Problem in customized setup creation in c#

I have created a own installer for my application(c#). During the installation process, i will ask the end-user for the install location. My problem is how to pass that install location(user input) to the installer. The installer always trying to install at c:\progam files[mfr name][product name]. please help me ...

Problem in using CustomActionData while createing installer

Hi, Any one can explain about how to pass install location to installer by code? ...

How to change the install location at runtime of installer by code?

I can use the default location property of application folder to change install location. but i like to change this by code through installer class. if it is possible, please tell me how? ...

How to add a whole directory or project output to WiX package

We decided to switch from VS integrated setup to WiX. However, what we currently do is use projects output files as the input for the setup project. This lets us easily add Application Files to a directory (for images, samples, and other resources...) and those files are automatically added to the setup when we build. I could not find ...

How to remove the readonly attribute when building a setup

Hi All, The setup of my Windows Mobile app is created using VS2008. It contains a couple of data files to be copied to the target device. These files are readonly on the dev machine (because they are under source control). The setup preserves the readonly attribute, which is a problem in this case. How can I tell the setup project to ...

What's the best method for setting up a new .NET project?

So I'm newly in charge of projects at my company (We're still only 2 guys, but we're growing) and I want to set up my projects the right way. All my projects are in an SVN repo already, I've got bug tracking software set up, but what I'm looking for is the best way to layout a new project with tests, SVN, and a build server. I want to s...

VS 2008 Service Pack 1 problem

Hi, My OPS is XP and service pack 3 installed.I cant install vs2008 service pack1,In log file i see 'Visual C++ 2008 SP1 Design-Time Components for x86 - KB947888' cant be installed. Error code is 1603.Last part of Installation file is here. Returning IDOK. INSTALLMESSAGE_ERROR [Error 1335. The cabinet file 'patch.cab' required...

Why is my console app running via setup.exe?

What am I doing wrong? I have a simple console app in VS08. When I hit Publish, it creates a setup.exe in the target folder. When you run setup.exe, it goes through the motions of installing, but it also runs the app, which is undesirable to say the least. Is there a setting I'm missing or something? ...

Setup.exe and autorun.inf

I have Visual Studio 2008 project on which I added a Setup Project. It generates all files to install the application correctly. Now I am trying to add an autorun.inf to the cd, which is supposed to start the Setup.exe. After a lot of attempts and every combinations possible, nothing works, the install don't start. I even tried a batch ...