installer

How do I add my program to PATH ?

For Windows: After my .NET program is installed, how do I set the system PATH to include my program absolute directory such that the user can launch my .exe from any directory within the console? Note: I want this to be done automatically without the end-user having to manually add the PATH himself. ...

What directory should my installer install an app on Vista?

I've nearly completed developing a game for Windows and I'm curious where I should have the installer install it. I know it used to be in "Program Files" but has that changed under Vista? I know that World of Warcraft now installs under Users/Public/Games... what is the Microsoft-recommended location for games? ...

Always update files in minor upgrade (how to)

I am creating an install package using InstallShield Pro X. The upgrade works properly. However, the product manager wants the upgrade to replace all files on an upgrade even if the create date != modify date on the file. I see that to do this I need to set REINSTALLMODE=vamus rather than vomus. However, I don't see how to tell InstallS...

ASP.Net website installer references

Are all the dll's in my Website - Property Pages - References tab copied into an .msi istaller by default for a Website project type? The references don't seem to have any options as they would in a web app or desktop app project type (such as Copy Local, etc). My installer includes the Content Files from my website project, and any cl...

How to make a .NET windows service install without antivirus problems

Hey guys, I'm making my first windows service in C#, at the moment a pretty innocent looking thing that doesn't do anything yet. However I find when I try to install it, either using a standard Setup project in Visual Studio, or using the simple "self-installer" outlined here, our company's antivirus won't allow installation because it...

msiexec quiet installation when the package is already installed

I have the following problematic scenario: Problematic Scenrio Description Begin--------------------------- I use msiexec to install a package in quiet mode in the following way: msiexec /i c:\mypackage.msi /quiet Now I have the package installed. Let's say I entered the command above again: msiexec /i c:\mypackage.msi /quiet Pro...

Remove trailing slash from paths in WiX

I am using WiX to install a plugin for a software that I am not controlling. To install the plugin, I have to put the target folder in a registry key: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="LocalAppDataFolder"> <Directory Id="APPROOTFOLDER" Name="Foobar Plugin" /> </Directory> </Directory> ... <DirectoryRef...

How do I find the physical memory size in Java?

I'm writing an installer that will tune the configuration of the product for the particular hardware on which it will be run. In particular, I want to determine how much physical RAM is installed in the system so I can estimate how much memory to allocate to the product when it runs. Ideally, I'd like to do this in a platform-independe...

Starting services that depend on side-by-side assemblies using Windows Installer

Hi, We are in the process of updating the construction of our product's .msi package for Windows Server 2008. The main component of our install is an application that is run as a Windows service. There is also a configuration application that gets run during install to set up registry entries for use by the service. The service and t...

How do Linux binary installers (.bin, .sh) work?

Some software (for ex. the NetBeans IDE) ship the Linux installers in .sh files. Curious about how exactly they 'package' a whole IDE into a 'shell script', I opened the file in an editor. I saw some plain text shell scripting code and then some random gibberish, which I reckon is 'binary' or non-plain text. I am wondering how they mix...

How can you perform a silent gui installation, whilst server is logged off?

I create silent software installation packages for customers. This is pretty straight forward if the installation is a simple file dump, or add service and start; but a lot more difficult if customer instructions (and payload media), are gui based - 'run setup.exe, click next, enter text...'etc... So I have been investigating the use of...

Easy Way To Create Installer For .Net Projects

What is the best/easiest way to create an installer for a .net application that will install the framework if required. I only have visual studio express if that makes any difference. ...

Installshield differential installer with embedded Installshield Redistributable Object

I have an installer for a product X. The installer for the product X is using an installshield object Y. Version 3.2R1 of product X was built with version 5.0R5 of product Y. Version 3.3C1 of product X is built with version 5.1R7 of product Y. I also have a differential installer to update 3.2R1 installation to 3.3C1. It is working p...

WiX, Conditionally installing a file based on OS

In my WiX project I need to install different content for the same file name, based on the OS. If the OS is Windows 7 then the file needs to have content X. If the OS is Windows Vista the file needs to have content Y. I have thought through a few approaches: Define two components, one with the content for windows 7 and another ...

How do i change the start in path of a shortcut for nsis?

I have an nsis installer script for the application im working on and it can place a shortcut on the desktop and in the start menu folder but each shortcut has the wrong start in path and as such the app saves data files to where the short cut is. Is there an easy way to change the start in path as the documentation was less than helpf...

Vbscript can't modify component table of MSI?

I try to write vbscript, to remove the duplicated component GUID entry in component table of a MSI. But I always get 80004005 error, MSI API error. Does it mean vbscript can't modify/delete on component table? I do know Transform can. my code snippet: DeleteQuery = "delete from component where component.component="+comp Set DeleteV...

Auto startup for java desktop application?

Hi friends, I have created a desktop application in java using NETBeans IDE 6.1... and made a jar file of the application. Now I want to make its auto start up in such a way that its start up whenever client machine is booted. Thanks in advance Balwant ...

How to make installer of java desktop application for multi-platform?

Hi friends, How could we made a jar file's installer, which can run on multi-platform, is there any simple way, because I don't know Java too well. Balwant ...

Error installing ruby fastCGI binding in CentOS. How to avoid it ~>_<~

I have successful executed following commands: tar xzvf fcgi-2.4.0.tar.gz cd fcgi-2.4.0 ./configure --prefix=/usr/local/fcgi make && make install tar xzvf ruby-fcgi-0.8.7.tar.gz cd ruby-fcgi-0.8.7 ruby install.rb config -- --with-fcgi-include=/usr/local/fcgi/include --with-fcgi-lib=/usr/local/fcgi/lib But I get this error when I r...

How can I check free space during a NullSoft silent install?

In silent install mode the user is not asked about the installation target with the PageEx directory, and therefore the functions DirVerify and GetInstDirError are never called. This is also applicable to installs that hardcode the installation target (a bad idea) for the same reason as above: the PageEx directory is never invoked. ...