setup-project

Custom Dialog in .Net Setup Project

See Update Below I have been reading about creating custom dialogs for a .NET setup project at Code Project (http://www.codeproject.com/KB/install/vsSetupCustomDialogs.aspx) and I have the Orca tool installed and understand how to customize the dialogs. One thing, however, I can't seem to figure out. Is it possible to have a dialog tha...

Problem with path to images when launching .NET application using WSHShell

I am launching a VB.NET (2.0) application using WSHShell from a startup VBS script. This application has 2 images located in an /Images folder in the VB.NET project with a 'Build Action' of 'Content'. When the application runs it does some checking and then tries to show one of the 2 possible images as follows: imgStatus.Image = Image....

How do I Create a link to an executable Installed by Visual Studio Setup Project

I am working on a visual studio setup project. I want the setup project to install the executable for a windows forms project, and then put a link to that executable in the Programs Menu on the target machine. In the Setup Project I clicked 'Add'-> Project Output... and selected the Primary Output from my WindowsForms App. So that should...

Making an obfuscated exe Primary Output of a WinForm Setup project

Hi. I'm using DotFuscator to obfuscate my source code. How do I make the obfuscated file, which lives in a separate directory, the primary output of my Setup project? If I overwrite file in obj and release folders with obfuscated file, it just gets overwritten my I recompile Setup project. Thanks. Charlie ...

Where do I set properties in a VS 2008 Setup project?

I have a WinForms project in Visual Studio 2008, and I've created a Setup project for it. I can build this and it picks up the dependencies and creates the .exe and .msi. But I would like to customize it a little bit, for example by specifying my company name and changing the default 90s-style clip-art logo that appears when the installe...

VS Setup Project Windows service questions

My setup project installs a windows service. Right now this action is in the Install category. Would the commit category be a better location for it? I've added a custom action to remove the service in the Uninstall category, but when I run the uninstall, the user is prompted to shut down the service. As the user should never really kno...

How do I abort a Setup Project install from a WPF custom action dialog?

I have a WPF window that is shown as a custom action as part of my VS Setup Project installation. This works well, but I can't figure out how to inform the installer if the user presses the cancel button on the dialog that I'm popping up, so that it rolls back the install. Is there a way that my dialog can provide input to the installer...

Creating a Custom Start Menu Shortcut Link for a Visual Studio Setup Project

Is it possible to create a custom start menu shortcut link? The only possibilities I see in the setup project are shortcuts to folders or primary output. Update: What I ended up doing is creating a custom action on commit that dynamically creates the link using Windows Scripting Host. Then on uninstall, removing the link. ...

Configuration file 'C:\my\App.Config' is being used to configure all executables

I have a Visual Studio setup project that installs an application into the task scheduler and also installs a GUI application to manage some configuration parameters in the registry. This being the case, the setup project installs two different primary outputs (.exe's) as part of the process. I am getting the following warning when I r...

Run chm after msi installation?

I would like to launch a Windows Compiled HTML Help file with .chm extension after my MSI installation. There is a script at Run exe after msi installation that inserts a checkbox (had to use the two bugs fixes further down) into the last page of the installation. The script completes but I'm not sure if the LAUNCHAPP=1 can only launch...

Deploy C# Windows Forms application on both Windows and Linux

I know that it's possible to create MSI installers in Visual Studio using a setup project, but what would be the best way to automatically create a setup file (or packaged file of any kind) for both Windows and Linux? I like the MSI installer on Windows so the question is rather about Linux. So is there a better solution than writing a ...

Activex component is not installing from cab file.

Hi I have created a CAB file for an ActiveX control which is included in a setup. if i access the HTML page in which CAB file was embedded, it is asking for the installation and some download kind of processing starting and finally saying done. But No ActiveX installation/registration took place. if i install the ActiveX setup manuall...

CAB file for X86 and X64

HI I have created a CAB file for an ActiveX component which is wrapper around a .Net Libray. Here the .Net Library is refering some third party components which are actually build in (X86 or X64) No Any CPU. So My Cab file should be intelligent enogh to install eigther X86 or X64 depending on the client ( Browser) I Know the change ...

how to read registry key value from VS setup project

Hi, I need to read a particular registry value in order to proceed with installation. Is there anyway to achieve this? Thank You ...

How to run a ".bat" file during installation?

In a Setup project the executable files such as ".exe , .dll , .js , .vbs" are acceptable and there is no way to run a .bat file in a Custom Action. The question is how to run the "xxxxxx.bat" during installation? ...

Rename project output before being included into Setup project

Hi I have an exe that is built and placed into a Setup project for deployment. I want to rename the exe that is produced (to a .scr file - it is a screensaver) before inclusion in the setup project. How do I do this? I know I could rename the file in a post install process but I don't want to do it this way, I want the file to be rena...

how to create setup files in c#

i like to setup for my project i did my project in Microsoft visual studio c#.net 2008, where i have start for that ...

Using a VS2008 setup project to install a service

Is there a straightforward way to smoothly upgrade a running service using a VS2008 installer? All I want to do is stop the service and do the install. It seems this wouldn't be too much to ask. If you invoke the ProjectInstaller's Install, and the service has been installed by a previous version, it throws an exception regardless o...

Launch Condition to Detect Office 2010 Applications

Hi , I was trying to create a setup project using VS2008. Is there anyway to detect if a particular Office 2010 application is installed or not? (as a prerequisite) .eg: i want to detect if Powerpoint 2010 is installed on client machine. I was trying to use windows installer search option in lauch condition but unable to find wha...

Windows Service Setup issue removing the windows service

I'm doing a windows service setup project on VS2008, it has a custom action for setting app.config values. The setup work fine installing the service and setting the app.config values but when I try to uninstall the service, it removes the files but keep the service registered, so I can install it again using the setup, I need to use "sc...