setup-project

Installer for .NET 2.0 application for Windows 98

萝らか妹 提交于 2019-12-07 18:33:49
问题 How can an automatic installer for .NET 2.0 application be created for Windows 98? I mean for application and also for .NET 2.0 if missing. I tried to do it by creating a setup project for Visual Studio 2008, but I didn't succeed. I installed IE6 SP1 manually, but Installer still crashed. Windows Installer 2.0 is installed. It's impossible to install Installer 3.0 there. I unchecked Installer at Setup Project prerequisites, but still it's not possible to install the application - the error

Windows Setup: Dynamic Registry Keys/Values

风流意气都作罢 提交于 2019-12-07 16:55:19
问题 A synopsis of my question: Is it possible to use your own, custom variables (the way that you can use [TARGETDIR]) in the Registry screen of a Windows Setup project in VS2010? Specifically, I need to store my assembly's strong name and assembly version in the registry, in order to register a COM object on a machine without the installing user having admin rights. I already tried using a custom action, and I'd rather not continue down that road if possible. Here are the specifics, and what I

Visual Studio 2010 update registry in setup application

大憨熊 提交于 2019-12-07 16:44:43
问题 I've recently created an application for my brother to use, it has several entries stored in the registry that it uses. I created a Setup Application in VS2010 so he can install the application to his PC with ease and set the entries to some default values for him, which he has changed. e.g. I have a entry called "SummaryFolder" and the value of "Successfully Installed" - so when it was installed it would have the default value. He will have changed this by now to an actual folder on his PC.

Lost in the Visual Studio maze?

拜拜、爱过 提交于 2019-12-07 15:11:30
问题 Where can I find the ARPCOMMENTS through the Visual Studio GUI in a .NET solution with a setup project? The value of ARPCOMMENTS shows up when "Click here for support information." is clicked in Control Panel "Add or Remove Programs". I have changed it once, but I forgot where it is. 回答1: From: Setup project - Deployment project properties - using [ProductVersion] inside Description property The Description property of the setup project stands for the MSI standard property ARPCOMMENTS. If we

Prevent uninstall in setup project with OnBeforeUninstall

两盒软妹~` 提交于 2019-12-07 14:06:14
问题 I overrode OnBeforeUninstall to stop my application's setup project from uninstalling it under certain circumstances, but it seems like it is just not being called and has no effect. protected override void OnBeforeUninstall(IDictionary savedState) { if (ApplicationIsBusy()) throw new ApplicationException("Prevent uninstall while application busy."); } I am able to cancel uninstall by overriding the Uninstall method, but by then the setup project has already closed my application. How do I

VS Setup Project: Uninstall other component on install

大憨熊 提交于 2019-12-07 02:00:59
问题 I am creating a Visual Studio Setup project. I want to un-install another component from the system from the install of my component. The other component is installed from my own setup created using Visual Studio. Currently when I am calling the un-install of the other component from the install action of the component I get the error code: 1618 (another MSI already running) . Could anyone suggest me an alternative way to solve this problem? 回答1: If you don't need to actually run the

How to add custom prerequisites to VS 2010 Setup projects

佐手、 提交于 2019-12-06 14:33:57
问题 I have an application that needs to use Crystal Report Basic. I understand, I can add this as prerequisite and if it's not already installed on Target machine, it will be downloaded and installed. I can't seem to find similar option on VS 2010 or maybe I forgot. 回答1: You can add Prequisities called Bootstrapper Manifest packs to your VS2010 using a very good tool which is Bootstrapper Manifest Generator. here is a good tutorial how to build custom prerequisities , then you add them into

Signed exe becomes unsigned after adding project output in setup package using visual studio 2008

守給你的承諾、 提交于 2019-12-06 05:51:38
I have created a msi setup package using visual studio 2008. I have added a project's output (exe project), which is signed at post build, to the setup package. The project is signed at the output directory (bin\Release). but when install the setup package, the exe found unsigned at the installed location. Why is the signing becomes invalid ? When i add it as a file it is signed. But when i add it as Project Output to the setup project it becomes unsigned. (I'm doing signing process at post build) I think it's something like the Primary Output files being used from the obj folder, not the

How to install a file in app data in setup project (C#)

余生颓废 提交于 2019-12-06 05:51:26
问题 I want to install my database to a separate folder (@ C:\Users\User1\AppData\Roaming\Company1\database.mdb) I'm using a C# setup project. How can I do it? 回答1: Right-click on the project and select View -> File System in the new File System screen, right-click the root node (File System on target Machine) and select Add Special Folder -> User's Application Data Folder Select the newly added folder form the treeview and create any sub-folder structure you need Finally select your destination

Windows Setup: Dynamic Registry Keys/Values

依然范特西╮ 提交于 2019-12-06 04:06:02
A synopsis of my question: Is it possible to use your own, custom variables (the way that you can use [TARGETDIR]) in the Registry screen of a Windows Setup project in VS2010? Specifically, I need to store my assembly's strong name and assembly version in the registry, in order to register a COM object on a machine without the installing user having admin rights. I already tried using a custom action, and I'd rather not continue down that road if possible. Here are the specifics, and what I've tried: Recently, my employer started blindly removing all employees' admin rights from their machines