windows-installer

How to create a MSI Windows installer for a Java program?

空扰寡人 提交于 2020-01-20 05:16:07
问题 I'd like to create a single Microsoft Installer file for a Java program. I can't use Netbeans or any Maven plugin to do it because I can't use Oracle Java and/or JavaFX (mainly for legal reasons) and both seem to use Oracle native deployment + JavaSE 1.8. My current archive contains: a Java Runtime Environment (OpenJDK 1.7 JRE) a script (.bat) a fat JAR an icon file a few text files I don't want to use the JRE of the system, that's why I provide another JRE. The script just calls the JRE with

How to create a MSI Windows installer for a Java program?

a 夏天 提交于 2020-01-20 05:15:25
问题 I'd like to create a single Microsoft Installer file for a Java program. I can't use Netbeans or any Maven plugin to do it because I can't use Oracle Java and/or JavaFX (mainly for legal reasons) and both seem to use Oracle native deployment + JavaSE 1.8. My current archive contains: a Java Runtime Environment (OpenJDK 1.7 JRE) a script (.bat) a fat JAR an icon file a few text files I don't want to use the JRE of the system, that's why I provide another JRE. The script just calls the JRE with

WiX overwrites config files during setup. How can I avoid this?

。_饼干妹妹 提交于 2020-01-20 00:30:09
问题 I'm using WiX to create a windows installer. Unfortunately my installer overwrites a config file on every update. What I really want is, that the installer only creates the file if it is not found. Thanks and regards, forki 回答1: I sure someone will come up with a proper answer, but as a backup: You could have the installer create a default configuration file, and then have your application copy the default file to the normal configuration file, if the normal configuration file is not present.

Does an universal cross-platform installer exists?

假装没事ソ 提交于 2020-01-18 05:44:09
问题 I wonder is someone tried to create either kinda open standard for cross-platform installer for an application or the installer implementation? That means you can simply download single file from the website, and it's extension recognizable by any popular operating system? We have .pkg and .dmg files for mac, .msi and plain .exe installers for windows, .deb packages for linux (in case of debian), but we haven't universal for each platform (like .uoi (Universal Open Installer), lol). One might

How to force a file update in patch (dynamic link, unversioned)

此生再无相见时 提交于 2020-01-17 04:05:07
问题 I have several files failed to update in windows installer patch. They are dynamic link files, with file hash changes, but the MsiFileHash table “File_" has changed for each file, below is the same file in MisFileHash table: RTM fileA:_A0FB2DAA62D356E1B64EA457014BA886 0 543212956 662074909 -1730111711 -2096793600 Patch7 fileA: _490DC427E0D9E512E96D3E9BF2B317C7 0 -1371102532 -401194406 -232195904 525972747 Maybe this causes the update failure. So I ask, will any way to force the dynamic link

Wix: Get Directory from File Path

泄露秘密 提交于 2020-01-16 16:12:08
问题 I'm creating a plugin for Adobe Illustrator and I'm attempting to make an installer for it using WiX. So in order to get the plugin to install in the correct location I am reading the registry to find the most up to date version of illustrator and then find the file path to that Illustrator exe. This all works fine and gives me "C:\Program Files\Adobe\Illustrator CC 2018\Support Files\Contents\Windows\Illustrator.exe" (I've checked and if you choose to install it elsewhere this path reflects

Force file to autostart with Windows in VS's MSI setup

不羁岁月 提交于 2020-01-16 04:19:32
问题 How do I make my executable file start with Windows in Visual Studio's Windows Installation project (MSI setup creator)? Tried to add registry keys, look into 'Assembly' properties. I have the MSI project compile and it installs fine to the folder but I need it to run a) After installation is complete b) Every time Windows starts. Thank you 回答1: On Scheduled Tasks versus Windows Services. See this previous answer for longer descriptions of the below summary items. I don't use this installer

ADDLOCAL=FEATURE1 in MSI installer removes other FEATURES

回眸只為那壹抹淺笑 提交于 2020-01-16 03:39:08
问题 I am trying install one of FEATURE_NEW using wix installer setup.exe(2.0) on top of setup.exe(1.0) setup.exe /v /qn ADDLOCAL=FEATURE_NEW It installs FEATURE_NEW, but issue is, it removes other features FEATURE1,FEATURE2 etc. I want existing feature should upgrade and new FEATURE_NEW installed, no additional FEATURES should be installed. So my question is Can I Install/upgrade product with previously installed feature list 'N' plus newly added feature i.e. N + NEW_FEATURES. I am searching

MSI not uninstalling .dll files

耗尽温柔 提交于 2020-01-16 01:05:10
问题 I have an program that used to uninstall properly and remove ALL files associated with it during uninstall. We have revamped our install/uninstall process to now use installshield. With the previous install/uninstall process it was working just fine until about 2 weeks before we changes it, and still even now with he new installshield installers it fails to remove the .dll files upon uninstall. I don't think the problem is with the installers themselves because we have the same exact problem

InstallShield installer error 2006 with GUI installer

[亡魂溺海] 提交于 2020-01-15 12:27:30
问题 I am trying to run an installer built using InstallShield, and when using the installer in Windows 2008, it works as intended; the same installer running in Windows 2012R2, fails with the message Installer User Interface mode Not Supported The installer cannot run in this UI mode. To specify the interface mode, use the I-command-line option, followed by the UI mode identifier. The valid UI modes identifiers are GUI, Console, and Silent. I am running as Administrator, and I tried using the