installer

Wix: How to set permissions for folder and all sub folders

天涯浪子 提交于 2020-01-09 02:15:26
问题 I know how to set the permissions for a folder: <DirectoryRef Id="ProgramFilesFolder"> <Directory Id="PHPFolder" Name="PHP"> <Component Id="PHP_comp" DiskId="1" Guid="*"> <CreateFolder> <Permission User="Everyone" GenericAll="yes" /> </CreateFolder> However I need the permissions to be applied to all subfolders as well. Is this possible with out listing all the folders? 回答1: First of all, I would recommend you using PermissionEx instead. It is a standard WiX extension and it has one really

How do I create an installer that can install dependency software?

半城伤御伤魂 提交于 2020-01-07 04:11:08
问题 Is it possible to create an installer where the user must install 'x' software before continuing with the installer? For example, if the user does not have the required software to use my own software, the installer will guide them through the set up and download the required software and then proceed to install my software as the final step? I have never created an installer so I have no idea if this is possible. 回答1: Is it possible to create an installer where the user must install 'x'

NSIS ExecWait dosen't wait when installing the setup file via chrome browser

旧巷老猫 提交于 2020-01-06 20:04:34
问题 When downloading the .exe installation file (NSIS installation) and opening it via chrome in order to execute it the ExecWait dosen't work. I'm running a batch file which kill browsers processes inside of the installation, because I opened the exe file via the chrome (Download Manager) the ExecWait think that the execute has ended and therefore dosen't wait for the next ExecWait calls that coming after the line which call to execute the batch file. It think that chrome was the parent process

Installing Higher Versions of existing Windows Service in VS 2008

我的未来我决定 提交于 2020-01-06 14:17:15
问题 I am installing a Windows Service on my Desktop with a particular version. Then I revise my service and make some changes in the service.I upgrade my installer version.I also make the property RemovePreviousVersion true.When I start to Install the upgraded Windows Service, I get the below mentioned Error. Error: The specified service already exists . Stack Trace : At System.Process.ServiceInstaller.Install(IDictionary)at System.Configuration.Install.Installer.Install at WinDbSync1.Project

Creating a Windows installer with automatic download of .NET Framework

非 Y 不嫁゛ 提交于 2020-01-06 12:49:08
问题 I am using Visual Studio Installer project for deploying a Windows Forms application. Is there a way to set up an automatic downloading and installing .NET framework 4.0 Client profile, if necessary, automatically from the Internet? 回答1: The setup installer has an option to both ask and download appropriate the framework from the Internet. It is set in the project. Click setup project -> properties. On the "properties page" there is a button called "Prerequisites.." There you have three

How to use VS Installer class in a Custom Action

我们两清 提交于 2020-01-06 04:57:09
问题 Dozens of Q&A entries (all but one in stackoverflow!) that I found got close to this question, but didn't teach me what I needed. I have what should be a nearly simple installation: a Windows service and an associated tray icon application. They install fine with the standard VS Setup project. After the files are installed, I need to present a dialog to the user to set some parameters in the service's exe.config file. In that dialog, the user should be able to abort the installation. I've

ClickOnce: How do I pass a querystring value to my app *through the installer*?

人盡茶涼 提交于 2020-01-06 03:29:25
问题 My company currently builds separate MSI's for all of our clients, even though the app is 100% the same across the board (with a single exception, an ID in the app.config). I would like to show them that we can publish in once place with ClickOnce, and simply add a query string parameter for each client's installer. Example: http://mysite.com/setup.exe?ID=1234-56-7890 The issue that I'm having is that the above ("ID=1234...") is not being passed along to the "myapplication.application". What

Compiling my Java program to intall on Mac

三世轮回 提交于 2020-01-05 10:27:37
问题 I've written my program. It works as I want it to. I want to distribute it to Windows, Linux, and Mac users, not as a JAR file, but as a program they can install and use natively. I was able to do this for Windows and Linux thanks to the excellent program, Excelsior Jet! Can anybody tell me the best way to do this for Mac? Thanks! 回答1: Start with Packaging a Java App for Distribution on a Mac and Java Application Bundler. This will allow you to package your application as a Mac .app bundle.

NSIS play with InstalldirRegKey

只愿长相守 提交于 2020-01-05 10:08:39
问题 From NSIS documentation, we have root_key subkey key_name This attribute tells the installer to check a string in the registry, and use it for the install dir if that string is valid. If this attribute is present, it will override the InstallDir attribute if the registry key is valid, otherwise it will fall back to the InstallDir default. So, if I have these lines in a .nsi file: InstallDir "D:\myFolder\myFile" InstallDirRegKey HKCU "Software\${PRODUCT_COMPANY}\${PRODUCT_NAME}" "Install_Dir"

OOTB way to check for admin permissions before running VS2010 Installer MSI?

蹲街弑〆低调 提交于 2020-01-05 07:26:24
问题 I'm creating an installer for a 3rd Party ActiveX DLL running in IE7-9 on XP-Win7. The MSI should perform the following: Check for admin permissions. Notify the user and exit if insufficient permissions. Check for previous version. If it exists unregister or overwrite it. Install the DLL with vsdrfCOM so that it is recognized in the IE add-on menu. For (3), I set the vsdrfCOM but it didn't seem to work. I don't see an OOTB way to perform (1) or (2). Is that correct or is there an OOTB way?