installer

Installing a font on a client machine

馋奶兔 提交于 2020-01-14 08:42:09
问题 I'm using Visual Studio 2008 and the built-in installation tools for a C# client application. How can I use this installer to install a font on the client machine (if it's not already there)? 回答1: In VS2005 (so I assume 2008 as well), right click on the File System on Target Machine, Add Special Folder -> Fonts Folder, then place your font file there. 回答2: For me, Timothy Carter had the answer mostly right: "right click on the File System on Target Machine, Add Special Folder -> Fonts Folder,

packaging air application with air runtime in one installer - windows .exe

有些话、适合烂在心里 提交于 2020-01-14 04:55:08
问题 I've been approved to distribute the adobe air run time. I've been able to a packaged .dmg file without any problems, now I'm trying to create a package of my application with the runtime for windows. I've followed the same instructions and the windows installer (MyApp 2.0 Installer.exe) is working properly when I double click it form the installer directory that I created. Now I'm trying to package everything from that directory into one .exe file. I've tried using the standard windows

How to reduce the line spacing between two input boxes on Inno Setup TInputQueryWizardPage (CreateInputQueryPage)

蹲街弑〆低调 提交于 2020-01-13 20:25:15
问题 I have a TInputQueryWizardPage page with 8 user inputs. The wizard page has been increased but still all the values are not visible. Is there a way to reduce the line spacing between two values so that all the values will be displayed with the current wizard size? 回答1: Use TInputQueryWizardPage.Edits and TInputQueryWizardPage.PromptLabels to access the controls and re-locate them as you need: [Code] procedure ReducePromptSpacing(Page: TInputQueryWizardPage; Count: Integer; Delta: Integer);

Inno Setup (How to get dynamically path to file)?

Deadly 提交于 2020-01-13 08:59:33
问题 I'm making a setup script in Inno and I was wondering, how can I get non "hardcoded" path. Here is example: Thanks in advance! SOLUTION: You can get .iss folder by using predefined variable SourcePath Usage would be like: {#SourcePath}\???\bin\x86\Release\???.exe Thanks all who contributed! 回答1: The reference about the source directory says (emphasized by me): By default, the Setup Compiler expects to find files referenced in the script's [Files] section Source parameters, and files

Inno Setup - How to display notifying message while installing if application is already installed on the machine?

痴心易碎 提交于 2020-01-13 05:40:10
问题 I am new to Inno Setup. I am creating an installer for my C# application using Inno Setup compiler-5.1.6. Using my script an installer is created, and it works fine. It installs the application and can be uninstalled from control panel as well. But my problem is that, if my application is already installed on my machine and I try to install it again it get installed without any message. It replaces the older installation. So my requirement is that , if application is already installed , it

Installer class that receives parameters used in the 'Install' method

痞子三分冷 提交于 2020-01-13 05:38:10
问题 I have a class inheriting from System.Configuration.Install.Installer class, and used to install a Windows Service. It looks like this: [RunInstaller(true)] public class HostInstaller : Installer { private const string _serviceName = "My service name"; private ServiceProcessInstaller _process; private ServiceInstaller _service; public HostInstaller() { _process = new ServiceProcessInstaller(); _process.Account = ServiceAccount.User; _process.Username = "My user name"; // Hard coded _process

Installing WPF application on machine without .NET Framework 4

守給你的承諾、 提交于 2020-01-13 02:58:28
问题 I am using Visual Studio 2010 to create a Setup package to install a WPF application. I can see that I can add the .NET framework 4.0 as a pre-requisite, but how do I get his to run automatically without manual intervention? Do I have to create a small program (that targets framework 1.1 as I assume most machines have 1.1) that detects if .NET framework 4.0 is there and if not install it silently, or can I get the installer to do this. I also have to install the OLEDB 12 drivers because I'm

Visual Studio Installer: How to Target Windows Public Documents Folder?

一曲冷凌霜 提交于 2020-01-12 07:21:51
问题 I am creating a desktop app that needs to install an SDF file to the SpecialFolder.CommonDocuments folder ( C:\Users\Public\documents in Win 7). In a Visual Studio desktop Deployment Project, how do I specify this folder in the File System Editor? I tried creating a custom folder in the File System Editor and pointing it to the CommonDocuments folder in the Properties pane, like this: Unfortunately, that specification won't build. I don't want to hard-code a folder path, since it varies

How to create a setup file to install MVC .net web application?

橙三吉。 提交于 2020-01-12 06:53:47
问题 I have MVC2.0 web application and I need to make an exe installer to deploy the application and the DB on the customer's server. Is there a tool in VS2010 to do this or do I have to use a 3rd party tool? 回答1: You can create deployment package, bin deploy or simply use publish option to drop files to web server. Here are some useful links: Bin Deployment VS 2010 Web Deployment Package, One click deploy Automating Deployment with Microsoft Web Deploy 来源: https://stackoverflow.com/questions

Create Custom Action to Start Application and Exit Installer

只愿长相守 提交于 2020-01-12 05:44:07
问题 Thanks to StackOverflow I found out yesterday how to add a custom action to the Visual Studio Installer to start my program after an update. The problem I now face is that at the end of the installer the program does open but the installer never finishes until I exit my app. Is there a way to ensure the app starts only after the user clicks finish on the MSI package? Or the program starts at finish of installer but installer completes and exits? I am running Visual Studio 2010 in case it