windows-installer

Self extracting archive (EXE) for Windows

青春壹個敷衍的年華 提交于 2019-12-24 07:59:08
问题 I'm looking for an easy way to create a self extracting archive (EXE) on Microsoft Windows platforms. I know that there is a built-in tool IExpress.exe , but that has a wizard style UI and I need a "silent" tool, which can be called by scripts. It should be: Scriptable (Windows shell script or Ant build file) Free for commercial use Optionally unpack in a temporary folder or ask the user where to put the unpacked files Nice to have: Auto launch an executable in the archive after unpack No

Unable to uninstall program from WiX created MSI

假如想象 提交于 2019-12-24 06:45:42
问题 After installing osquery with an MSI made with WiXToolSet (Using the script provided by osquery), I tried uninstalling it which failed. Also it didn't show as a program in the appwiz. (Link to the script - https://github.com/osquery/osquery/blob/master/tools/deployment/make_windows_package.ps1) I've tried using both the MSI itself - osquery.msi /uninstall and the unsintall string - msiexec /I{'uninstallstring'} . I also tried repairing using the /fv option. The code the script used with WiX

Would this method of installing COM+ work?

冷暖自知 提交于 2019-12-24 06:35:06
问题 I've been trying to use WiX 3.7 to install a COM+ assembly . I've been using several WiX code snippets I found here on StackOverflow. Although I can generate an MSI, when I then install the msi it fails with errors that look like this: RegisterComPlusAssemblies: DLL: C:\Program Files\Kutana\Kappris\Carson.dll ComPlusInstallExecute: ExceptionInfo: Code='0', Source='System.EnterpriseServices', Description='Could not install type library 'C:\Program Files\Kutana\Kappris\Carson.tlb' into

Install PHP on XP / IIS 5.1?

大城市里の小女人 提交于 2019-12-24 03:53:12
问题 I am trying to install PHP onto my development box (XP SP3 / IIS 5.1) I've got PHP 5.2.6 stable downloaded (the MSI installer package) and I am getting an error "Cannot find httpd.conf". After that the install seems to breeze by quickly (more quickly than I would have expected) and when I try to execute a simple PHP script from my localhost test directory that I created, I get a slew of missing DLL errors. I have seen posts out there which indicate that its possible and has been done. I dont

Install PHP on XP / IIS 5.1?

被刻印的时光 ゝ 提交于 2019-12-24 03:53:08
问题 I am trying to install PHP onto my development box (XP SP3 / IIS 5.1) I've got PHP 5.2.6 stable downloaded (the MSI installer package) and I am getting an error "Cannot find httpd.conf". After that the install seems to breeze by quickly (more quickly than I would have expected) and when I try to execute a simple PHP script from my localhost test directory that I created, I get a slew of missing DLL errors. I have seen posts out there which indicate that its possible and has been done. I dont

Migrate WiX UI to Burn

僤鯓⒐⒋嵵緔 提交于 2019-12-24 03:39:21
问题 I have a working WiX installer with a custom UI using a WixUI_Mondo_MyApp.wxs file. I have to extend my installer to also run another exe installer. I understand Burn is the way to do this. I created a Burn project that chains my original MSI with the custom UI (using DisplayInternalUI="yes"), and that works fine. But I don't want two UIs popping up (the Burn default UI, and my MSI UI), and I need to get some info from the MSI UI to determine if I should install the other exe (it will listed

Manually migrate feature states during upgrade

自闭症网瘾萝莉.ら 提交于 2019-12-24 03:13:06
问题 We have a product for which the feature tree has changed considerably between versions, so the MigrateFeatures="yes" option on the UpgradeVersion element does not seem to work. How would I go about manually converting the old features to the new ones? Do I need a custom action, and if so, how can I do this from there? 回答1: As far as I know, the feature tree structure isn't relevant - it matches the Name in the Feature table, so if they all match you'd still get some migration. Note that it is

MSI get install arguments from registry

∥☆過路亽.° 提交于 2019-12-24 02:25:06
问题 We're actually writing PowerShell cmdlets to create a snapshot of installed (custom) MSIs. The cmdlets walk through a list of servers, check if MSIs of a given publisher are installed. If so, the MSI is copied from the remote machine to host executing the PowerShell cmdlet. So far so good. In the next stage we're planning to restore a system with the beforehand fetched MSI packages. Our actual problem: Some of the MSIs need command line parameters for installation via msiexec. We searched the

pre-build event to change setup project's ProductVersion doesn't take effect until after the build

雨燕双飞 提交于 2019-12-24 02:14:59
问题 I've followed the steps described here to modify the ProductCode and ProductVersion on my setup project on each build, using a prebuild event. (meaning- I created a console application that uses the above-mentioned code to modify the .vdproj file, and I trigger it from the pre-build event). The operation is successful, and after the build is done I can see that the 'Version' property of the setup project has changed. However, the 'ProductVersion' property of the compiled msi does not change.

Dynamically include files in MSI setup

蓝咒 提交于 2019-12-24 02:14:33
问题 I am trying to deploy a bunch of files in a directory in my MSI setup. As the files will change frequently I don't want to add the files directly but rather have a way of automatically including all files from within a directory and deploy them to a certain location. I am using a Visual Studio Setup Project. Anybody know how/if this is possible? 回答1: I solved the problem by a workaround: Add a build action of packaging entire directory (could be filtered) to a ZIP file. Add a reference to an