FAQ Database Discussion Community


Compiling my Java program to intall on Mac

java,osx,installer
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...

Is NSIS 3.0b1 stable for production usage?

installation,installer,nsis
I want to try out NSIS install system. On the download page http://nsis.sourceforge.net/Download There are version 2.46 ( last updated in 2009 ) , and the newer 3.0b1 . It seems the newer one is in beta and I worry about stability issues. I wonder if any of you have...

Packagemaker for copy files

osx,installer,packagemaker
I'm making an application and some default files for the entire organization and these files should be copied in the directory /Users/<username>/Library/MyDirectory/ in every machine. I want to deploy this application and files as an installer package using packagemaker. I tried by dragging the folder containing default files to the...

How to generate executable across platforms

installer
in case i have a source code and an api to generate windows executable version, is there any possibility or any easy approach to convert it into something that can be executed across Linux /mac or Solaris platforms?

Check for .NET 4.5.2 in WiX

.net,visual-studio,wix,windows-installer,installer
I'm trying to make use of the WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED property. I've read the How-To. Specifically, I have: Added a reference to WixNetFxExtension.dll (located at C:\Program Files (x86)\WiX Toolset v3.9\bin\\WixNetFxExtension.dll) Added xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension" to my <Wix> tag. Referenced my property: <PropertyRef Id="WIX_IS_NETFRAMEWORK_452_OR_LATER_INSTALLED"/> But I get the following error when I try to compile:...

Installing software using command line silent mode

batch-file,azure,command,windows-installer,installer
I am creating batch file to run on azure worker start up task to install GPG software on windows 8 in silent mode or quiet mode -don't want to see UI dialogs how to pass installation folder or other parameters in command line I have tried using below line but...

Is class data sharing (CDS) impacted by installing a JRE via copying a directory?

java,jvm,installer
When a JRE is installed via an Oracle JRE installer, the installer creates a shared archive that enables class data sharing (CDS), reducing startup time and memory footprint of JRE processes. Questions If our installer instead installs a JRE by copying a JRE directory, do we lose class data sharing?...

Speed up Build-Process of WiX-Installer

visual-studio,wix,windows-installer,installer,heat
For my Wix project I am harvesting 4 directories, via the pre-build-event of visual studio, which will result in about 160mb of data, and about 220 files, but the build process tooks very long. How can i speed that process up? I have one embedded media.cab file which will hold...

Distributing installer of Windows desktop application

windows,deployment,amazon-s3,installer,hosting
I have an installer for my Windows app and it is quite big (>100 Mb). I am also using ClickOnce deployment framework, so each time I issue an update all my users have to download the installer. We tried to use Amazon S3 to store the setup file, but it...

How to give the option to the user to select a language during installing app whose installer has been prepared through visual studio 2010?

visual-studio-2010,installer
I have developed an application using JAVA. And this product is targeted for the user of Korea. I have also prepared an installer using visual studio 2010. But the problem is I can not set multiple language as localization in visual studio 2010 installer project. I want to create an...

How can I define a project variable with candle in WIX?

msbuild,wix,installer,wix3.5
I want to take an existing project variable and extend it but I want it to be global so that I don't have to include it in each wxs file. The one I want to extend is: $(var.MyProject.TargetDir) I want to turn to make var.MyProject.TargetDir.Help=$(var.MyProject.TargetDir)Help\ How can I do this...

WiX MSI upgrade disallows installation of some components

xml,wix,windows-installer,installer,upgrade
When I try to do an upgrade of my project, I get the following logs for about eight or so components: MSI (c) (24:EC) [11:50:17:422]: Disallowing installation of component: {290E89A8-6BA7-59F2-B350-BE657C2823BC} since the same component with higher versioned keyfile exists The uninstall portion of the upgrade seems to remove all of...

Evaluate conditions before custom actions

.net,visual-studio,wix,windows-installer,installer
I have this action under InstallUISequence: <Custom Action="WarnIfOutlookNotInstalled" Sequence="1"><![CDATA[NOT Installed]]></Custom> I also have this condition: <PropertyRef Id="NETFRAMEWORK45"/> <Condition Message="This product requires .NET Framework 4.5 or later."><![CDATA[Installed OR NETFRAMEWORK45]]></Condition> The custom action named WarnIfOutlookNotInstalled is defined in a custom action DLL which targets .NET 4.0. The problem I have is that,...

How can a single installer 'Setup.exe' be used to install multiple instances of same application

windows-installer,installer,installshield,multiple-instances
I have created a installer of type InstallScript MSI installer using InstallShield 2008 and it is working. Now I want to install multiple instances of same product on same machine using same installer. I want to show them as a separate application in Add/Remove programs and also a separate directory...

How does installers check for java version

java,windows,installer
What method(s) is usually used by program installer to check java version? Do they use simple "java -version" command or is there some other more sophisticated ways. *Windows OS

INNO setup writing a multi line text constant to the registry

installer,inno-setup
During install I want to write a long multi line/paragraph chunk of text to a registry value writing to a registry value is easy enough [Registry] Root: HKCU; Subkey: "Software\my company\My software"; ValueType: string; ValueName: "Message"; ValueData: "some text" but I would rather define a multi line text constant to...

Custom action to launch Msiexec during setup

c#,installer,action
I need a last (lol) little help... i finished my software and TATA i'm not able to find a correct way to create it's setup. I googled, yes, i googled and searched here but i found only old post referring old visual studio versions.... Please be patient with me... As...

install msi with a product code through msiexec

installation,windows-installer,installer,msiexec
I am a new to msi installations through command prompt.Can anyone show me how to install an application with product code through msiexec. Currently I am using the command : msiexec /i "D:\msiexec\Calculator\CalculatorInstaller\CalculatorInstaller\Express\DVD-5\DiskImages\DISK1\CalculatorInstaller.msi" ProductCode="42F48712-5C2E-41D1-83CC-2D28C91C889A" but though it's getting installed, I am not able to verify that at HKEY_LOCAL_MACHINE>Software>Microsoft>Wow6432nodeMicrosoft>windows>Uninstall . Please...

Unable to read value with RegistrySearch

wix,windows-installer,installer,msiexec
My installer need to distinguish between Intel and AMD processor manifacturer, in order to drop the corresponding components (Drivers). I've seen that is possible to catch such information from a registry key. I've done the following <Property Id="REGMANIFACTURER"> <RegistrySearch Id="RegCPU" Root="HKLM" Key="HARDWARE\DESCRIPTION\System\ControlProcessor\0" Name="VendorIdentifier" Type="raw" Win64="yes" > </RegistrySearch> And after drop...

Install windows service from installaware

c#,windows,service,installer,installaware
I have created a windows service using C# I can install it manually using UnstallUtil.exe I want to create an installer with installAware. Could you assist me in how do I have to do to set the installer to automatically install the service? (I have seen that there is a...

Having an issue with WIX upgrade

wix,windows-installer,installer,custom-action
Having an issue with WIX installer upgrade. Previously we had 2 version of installers 1 for per-machine and another for per-user. Currently we have developed a dual mode MSI. The dual mode MSI upgrades the PerUser version (on PC 1) of previous installer when install for yourself option is selected...

Running SQL Script file through Wix using element

sql-server,database,wix,installer
am new to Wix Installer.I have a requirement where I have to provide credentials for SQL Server login and run a script from a specific path. Am not getting what's going wrong.The project is build successfully and .msi is created.After running it I get following Error: Error 26204. Error -2147217900:...

How to add several ports to FirewallException in Wix?

installation,wix,windows-installer,installer,custom-action
I use property PORTS to pass some http ports to my installation. Then these ports will be stored into init file and used by the application. I need to add these ports to FirewallException? But following code does not work: <Component Id="fwException" Guid="MyGUID"> <Condition>Privileged</Condition> <RegistryKey Root="HKCU" Key="Software\Company\[ProductName]"> <RegistryValue Name="fwException" Value="1"...

is there a way to silently rollback installation upon failure of new update?

installation,windows-installer,installer,rollback,installaware
is there a way to silently rollback installation upon failure of new update (using installaware or independent of installaware). I want the installer to run and only if everything is installed correctly (and running properly if possible) is the old version removed.

How to install postgres with NSIS with all parameters?

postgresql,installer,package,nsis
We have a C# program which uses postgres as its database, so we want to bundle the postgres in the installer as a semi-silent install, i.e. the user will be notified about the mandatory installation, but the installation itself will be automatically performed without the need for user input. After...

How to delete files created with *

installer,nsis
I'm creating an installer with NSIS which will install more than 100 files. I know that to specify which files you want to install you can use File /r ..\release\* Which works very well. But what should I do to uninstall these files ( Appart from using the Delete command...

Creating an empty directory (NSIS)

windows,installer,nsis,error-checking,create-directory
How can I do it by NSIS 2.46? I know this is probably a dumb question, but how the heck do I create an empty directory and check for errors? I do so: ClearErrors CreateDirectory $R1 ${If} ${Errors} DetailPrint "failed" MessageBox mb_IconStop|mb_TopMost|mb_SetForeground "Can not create folder $R1" Abort ${Else} DetailPrint...

Handle Squirrel's event on an Electron app

windows,node.js,installer,electron
These days I'm toyng around with Electron to build a small native app for Windows and I'm using Grunt Electron Installer to create an installer for my application. The installer is created successfully but I don't know how ho handle Squirrel's events inside my app, as stated in the docs...

WiX - upgrade services

wix,installer
I Installed my application in 1.0.0.0 version. Services have been installed on the user account (with username / password). How to make an update, so the user does not have to specify login and password again? <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />   <Component Id="MyService" Guid="MyGUID"...

How to stop the deployment project from installing the app.config file

.net,visual-studio,installer
I want to stop the Visual Studio deployment project from installing the app.config to the target directory. The app.config file already has the following properties set: Build Action => None Copy to Output Directory => Do Not Copy Upon running the installer (setup.exe) it installs the app.config to the target...

Assembly Dependencies Change After Installation

.net,visual-studio,dependencies,installer,.net-assembly
I have a .NET application that seems to have some of its dependency versions change between debugging and running as an installed release app. I'll just focus on the Castle.Core assembly for my details, but the same issue occurs with a couple others as well. A NuGet package I'm using...

Building a multi-arch installer with msbuild

c++,windows,msbuild,installer,nsis
I'm building a multi-architecture installer for a C++ program with NSIS. I'm using Visual Studio 2010. All is well except I don't know how to make the installer depend on the build for all architectures. I have created a project to run makensis as a build step, and configured it...

How to create .msi installer with WiX

wix,windows-installer,installer
Can someone help me understand how WiX works? I have a directory structure which I would like to create an installer for. I have generated the for the directory structure with heat.exe and when I build the setup project it generates an .msi file but I don't think it installs...

Detecting .Net framwork Reboot required

installer,nsis
My NSIS installer installs .Net framework 4.0 silently along with my application packages. Platform is Win Xp / 7 / 8. ExecWait '"$TEMP\app-temp\dotNetFx40.exe" /q /norestart' Now the thing is, if the dotNetFx40 installer returns a reboot required with 3010 code, windows should be rebooted before continuing. I cannot skip this...

Change publisher name when deploying application

visual-studio,deployment,installer
How do I change the Publisher field form Unknown to something else. (I'm using Visual Studio and using Setup Project as my installer) Example below ...

Launch after installation

c#,windows-installer,installer,restart
I have an auto update application, when there is new updates, I download via ftp the installer.msi, I silent installed it and close the application, what I'm wondering is how to restart the application after the installation was successful. I find some topics about it but nothing seems to works...

I am trying to make a .bat installer to install more .bat files

windows,batch-file,cmd,installer
I am trying to make a few programs in batch that can be installed onto a flash drive or hard drive. I am using > and >> to make a new file called test.bat and adding lines to it. When the program is done a new batch file will be...

how to skip dialog based on selected feature

wix,windows-installer,installer,msi-gui
I want to add a custom dialog in the UI sequence after the Feature selection (Customize) dialog. The feature selection is done through a Feature tree. How can I figure out if a particular feature was selected and launch the custom dialog? Right now I am having the following codes...

migrating any windows program to another pc (without installer GUI) [closed]

windows,installer,installation-package,migrating
I am looking for a way to remotely install a program to other computer units running Windows on the fly ,without the need of running the installer steps on each computer (next,next,finish...) all over again , .exe installers don't usually have an easy way to do this without using the...

How to create a .msi that installs in multiple locations with advanced installer

installer,advanced-installer
Can someone advise regarding this issue? Any advice is apreciated, Thank you!...

Wix Burn, dependency installation failing

c#,wpf,wix,installer,burn
I have made a custom WPF UI in Burn to install my application, testing on my laptop its fine as it has .Net installed, but i have moved to a vanilla platform and have hit a snag right away. Burn tries to install .Net framework on the target, however, when...

WiX error build target

msbuild,wix,installer
I'm trying to create my MSI setup with WiX and MSBuild command which deploy my img.png into a repertory and i have this error : "MSB4019: project imported "C:\Program Files\MSBuild\Microsoft\WiX\v[[Version.M ajor]].x\Wix.targets" was not found. " Make sure that path of declaration are correct In this line : <Import Project="$(WixTargetPath)" />...

JavaFX Self Installer With Inno Setup 5 - Allow user to change install directory

installer,inno-setup,javafx-8
I am using Ant to build a self deploying EXE for a JavaFX application. Currently Inno Setup places the EXE here: C:\Users\username\AppData\Local\application name I would like to place this in a different location, and provide the user the option to override this. However I can't seem to find the ant...

Where did the internal Rust docs go?

documentation,installer,rust
I just updated my nightly Rust toolchain (rustc 1.2.0-nightly (7c4eedc21 2015-05-25) (built 2015-05-25)) and the docs it installs are now vastly reduced – it's missing all rustc_... crates (apart from rustc_unicode). Is there a possibility to get them back? Do I have to build from source?...

WIX-Installer ServiceControl “sufficient privileges” error

c#,windows-services,wix,installer,visual-studio-2015
Visual Studio 2015 RC Wix v3.10.0.1726 I am creating a installer for a windows services. I've tested the service with InstallUtil and it runs fine. Unfortunately I'm having a bit of troubles with wix, here is the exact error - "Service 'Service Name' failed to start. Verify that you have...

Windows Form asking .Net framework 4.5 while installing on Windows Xp sp3

c#,.net,windows,visual-studio-2013,installer
I have developed a Windows Form application in .Net C# using visual studio 2013. I am very sure that I have selected .Net framework version 3.5 while creating the project, so that it can install on Windows XP sp3 as well. I have created the setup file using Visual Studio...

How to install redistributable with visual studio setup?

visual-studio,installer,redistributable
I wish to make my installer (visual studio setup) to install redistributable (Visual C++ 2013 redistributable x86) in case it isn't installed on the PC or install the necessary dll for my program. I don't wish to set a launch condition. If possible, I wish that the installation of the...

Though I have changed the language of my visual studio installer to Korean but uninstaller shows in English in the start up of uninstallation

visual-studio-2010,installer,uninstaller
I have created an installer using Visual Studio 2010. And I have set the language to korean. Installer works fine and all the messages are shown in Korean. But the problem is in uninstaller. I have created uninstaller and the uninstaller executable executes the following command WinExec("msiexec.exe /x {1F13D24F-9D04-440E-AC1C-8CCCE55E79AB}", SW_SHOW);...

Installer programs (setup builders) that can manipulate data/ run scripts that can manipulate data for it?

scripting,installation,installer,inno-setup
I'm looking for an installer program (setup builder) that can manipulate data or basically run an external script to manipulate some data on the hard disk before running the actual setup file(primary .exe file to be installed) in order to facilitate the use of some customized user data for it...

WiX - not executing custom action during update

wix,windows-installer,installer,custom-action
I have two custom actions (immediate and deferrend). I would like to skipping actions during upgrade. I tried: <Product Id="*" Name="$(var.ProductName)" Language="1033" Version="$(var.Version)" Manufacturer="$(var.Manufacturer)" UpgradeCode="{GUID}"> <MajorUpgrade DowngradeErrorMessage="Newer version is already installed." /> <Custom Action='CAa' After='InstallInitialize'>NOT Installed AND NOT PATCH</Custom> and: <Custom Action='CAa' After='InstallInitialize'>NOT Installed AND NOT...

What should be done to copy files from installed directory to another after installation complete using inno setup script?

installer,inno-setup
Let me know you my purpose first. I have some dynamilc link libraries being used by the application. For client requirement I need to copy them to System32 directory of windows. But I am facing some problem to do this. I have already checked this link before. But I couldn't...

Slow wpf startup due to publish policy… maybe

.net,wpf,deployment,installer,publisher-policy
I have deployed my .NET assemblies with x-copy for years, without any issue. From last week, we have a small team that wich has the task of build a setup that includes .NET assemblies and exe and c++ legacy exe and dll (more tha 200 files). After the first installation,...