installer

How can I get WiX to call a method in a .NET assembly as part of the installation process?

北慕城南 提交于 2020-01-01 15:41:27
问题 I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing. It expects a COM ProgID. I can't figure out how to get WiX to do this. I thought about creating a binary Custom Action, but I can't find a way of passing a parameter (a string

How can I get WiX to call a method in a .NET assembly as part of the installation process?

左心房为你撑大大i 提交于 2020-01-01 15:41:17
问题 I'm migrating some existing products to use WiX 3.5 (I'm using the Votive VS integration). Some of the items I'm installing need to be registered with a third-party framework. The requirement is that I must call a Register() method in a third party .NET assembly to inform it of the presence of the items I'm installing. It expects a COM ProgID. I can't figure out how to get WiX to do this. I thought about creating a binary Custom Action, but I can't find a way of passing a parameter (a string

Is it possible to automate a ClickOnce deployment?

我的梦境 提交于 2020-01-01 10:13:35
问题 I work on a project consisting of a server and a client application deployed via ClickOnce. The client is installed the first time a user clicks a http://...file.application link, and the interaction with the user during installation are minimal (just the standard ClickOnce install/don't install dialog box). One of our client wants to be able to automate the installation of the client on the users' machines. Is there a way to install the ClickOnce application without any user interaction, in

How can Google Chrome be installed directly on webpage without ActiveX [closed]

怎甘沉沦 提交于 2020-01-01 09:59:11
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . Does it have a magic? When I click download button on the webpage, then Google Chrome is downloaded and installed. It doesn't use ActiveX. And it doesn't even require UAC window in the Vista or later. How can it be possible? Please let me know how to make this. I'd like to make my

Setup Project does not replace assembly files

守給你的承諾、 提交于 2020-01-01 09:08:10
问题 I have a Windows Application project (A.exe) that calls another project Class Library (B.dll). A.exe has a button (myButton) that calls the method Method1 from B.dll. To install the application I created a Setup project ASetup.vdproj, whose Primary Output is project A. After compiling the setup, the installation runs without any problems, when A.exe starts and I click myButton, the aplication gives no error. Then I changed B.dll and added a new method Method2. myButton is now calling Method2

Update %PATH% environment variable using NSIS

烂漫一生 提交于 2020-01-01 08:47:38
问题 I read that "Strings longer than ${NSIS_MAX_STRLEN} (1024) will get truncated/corrupted." How can I safely update %PATH% environment variable ? 回答1: You can use an alternative NSIS build from the special builds page like the large strings build that defines NSIS_MAX_STRLEN=8192 and should prevent you from breaking the host path. In practice, on a desktop machine, 1024 byte seems enough, but on a development host with many tools installed (like mine), the path might be broken after

Setting the manufacturer in a VS 2008 Setup Project

浪子不回头ぞ 提交于 2020-01-01 08:24:52
问题 I have a windows setup project that installs a service. All works well except for one thing: The default directory offered to the user during install is of the form "C:\Program Files\Microsoft\ProgramName". I am trying to modify this so that instead of "Microsoft" we would have our company's name. I found the application folder property of the setup project, and it has a DefaultLocation property of "[ProgramFilesFolder][Manufacturer][ProductName]". So, it looks like all I need to do is set

How do I create a conditional property in WiX? (Almost like an If-Then)

折月煮酒 提交于 2020-01-01 05:55:28
问题 I have a WiX project that installs a few EXE files. One is the 'Main' executable and the others are supporting programs to help diagnose problems. The main executable is optional, and the support programs will run on their own. Often, the end user will install a third-party program instead of my main executable. At the end of the WiX installer, I want to have a 'launch program' checkbox that will run the program as soon as the installer closes. I can hide the checkbox based on the

How do I create a conditional property in WiX? (Almost like an If-Then)

蹲街弑〆低调 提交于 2020-01-01 05:55:17
问题 I have a WiX project that installs a few EXE files. One is the 'Main' executable and the others are supporting programs to help diagnose problems. The main executable is optional, and the support programs will run on their own. Often, the end user will install a third-party program instead of my main executable. At the end of the WiX installer, I want to have a 'launch program' checkbox that will run the program as soon as the installer closes. I can hide the checkbox based on the

How to build native Mac OS X installer (on a non-Mac platform)?

萝らか妹 提交于 2020-01-01 05:15:12
问题 How can I build a native Mac OS X installer for my application, on a non-Mac platform? For example, I have a windows pc and a Java application. I want the windows pc to build an installer (possibly inside a .dmg archive) that works with Apple installer. 回答1: It is now possible to create a native Mac OS X installer on a non-Mac platform. As Louis Gerbarg, the tricky bit is the BOM (bill-of-materials) file. However an open source version of mkbom (based on the osxbom code by Joseph Coffland) is