Menu
  • HOME
  • TAGS

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

installer,advanced-installer

On the Advanced Installer forums you can easily find similar topics: one file, multiple locations Multiple Install paths custom install, multiple directories Conditional Install location ...

Wix Installer Conditional UI for Command-Line

c#,user-interface,wix,installer,windows-installer

Windows Installer already supports silent installations. See: Command-Line Options An example of a silent installation would be: msiexec /i example.msi /qn ...

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

c#,.net,windows,visual-studio-2013,installer

Alryt.. I have figured it out myself... Thank you dennis.. you gave me the clue... It have to select from setup project properties--> Prerequisites... that worked for me... :)...

WIX-Installer ServiceControl “sufficient privileges” error

c#,windows-services,wix,installer,visual-studio-2015

Correct, it's a generic error. You have to profile your service to understand why it won't start. GAC is just one scenario. In that case it's because MSI doesn't publish assemblies to the GAC until after StartServices. A classic race condition that results in a missing dependency and error. With...

Speed up Build-Process of WiX-Installer

visual-studio,wix,windows-installer,installer,heat

I suppose you could use external source files if that's acceptable - then you don't have a lengthy compression operation taking place during the build, just a file copy (which keeps getting faster - especially with flash drives). With techniques for making yourself a debug build, you can save a...

WiX - not executing custom action during update

wix,windows-installer,installer,custom-action

When you're doing a major upgrade with WiX MajorUpgrade the WIX_UPGRADE_DETECTED is set - see: http://wixtoolset.org/documentation/manual/v3/xsd/wix/majorupgrade.html so that is what you use in the upgrade install to detect that there is an older product installed. In other words it means that the new incoming install has detected an older version...

Building a multi-arch installer with msbuild

c++,windows,msbuild,installer,nsis

As for "foolproof" solutions, if I understand you correctly: You have solution containing multiple projects (lets say Test.sln), You want to build this solution for several platforms, ... and use the MakeNSIS tool (I have no idea what that is) to create an installer packaging binaries built for all the...

xcode 6.1.1 Export as a Mac Installer Package app crashing

xcode,osx,swift,installer

I found the solution: download Xcode auxiliary tools from October 2013 and use PackageMaker.app, it's straightforward to use and it makes the package installer without any crash. Tested on 2 Macs.

How do I store user given data in registry keys at install time from NSIS installer?

installer,registry,nsis,registrykey

You can build dialogs using nsDialogs. If SourceForge is down, have a look at the your local documentation %PROGRAMFILES%\NSIS\Docs and the examples %PROGRAMFILES%\NSIS\Examples. For registry operations, take a look at ReadRegStr/WriteRegStr or ReadRegDWORD/WriteRegDWORD for a start....

Running SQL Script file through Wix using element

sql-server,database,wix,installer

It looks like you have a UTF8 BOM () in there. Try saving the file as "Unicode (UTF8 Without signature)" using the advanced save options in visual studio.

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

windows,installer,installation-package,migrating

Almost every modern installer has some way to perform a silent install. You may need to do some digging to find the answers, or ask the publisher. Try running the installer with /? as a command line switch and see what it tells you.

Problems with creating custom action in VS2010

visual-studio-2010,installer,install,custom-action

Finally I change the code, with te objective of delete a directory ("C:\Program Files(x86)\ .... \cm") after the installation process. And now the commit part looks like this: .... [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand)] public override void Commit(IDictionary savedState) { base.Commit(savedState); var DirectorioInstalacao = Path.GetFullPath(Context.Parameters["targetdir"] + "/cm"); File.Delete(DirectorioInstalacao.ToString()); } ... The CustomActionData has this:...

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

java,jvm,installer

by copying a JRE directory, do we lose class data sharing? Class data sharing file will be valid only if the JVM version and the boot classpath remains the same. Starting from 8u40 as a result of JDK-8046070 JVM will refuse to load CDS archive even if JRE directory...

Is NSIS 3.0b1 stable for production usage?

installation,installer,nsis

NSIS 3 is basically NSIS 2.46 merged with the Unicode fork + additional bugfixes. Most of the changes are in the compiler and not in the generated installers. Development is still active but don't expect a new release until after Win10 RTM......

How to Set Uninstall (InstallLocation) Registry Key Value in WIX Installer

wix,installer

This would be a place to look if you are creating the MSI files: http://robmensching.com/blog/posts/2011/1/14/arpinstalllocation-and-how-to-set-it-with-the-wix-toolset/ If they belong to other companies there's not much you can so. ...

InnoSetup, prevent installation if any task is selected

installer,inno-setup,pascal,pascalscript

There is no way to do what you want natively in Inno Setup. You will need to do it from code by yourself. You can cheat here a bit by using the WizardSelectedTasks function. This function returns a comma separated list of selected task names (or descriptions), and so it...

Elm Windows Installer error. ERROR: Unable to open registry key “HKCU\Environment\Path” for reading. CODE: 80070002 SOURCE: WshShell.RegRead

installation,installer,windows-installer

By default, there is no user environment variable named PATH, only a system variable. Sounds like the script doesn't handle this case. As confirmed by the OP, it was sufficient to manually edi the registry key HKEY_CURRENT_USER\Environment to add REG_EXPAND_SZ entry named PATH. The value can just be an empty...

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

installer,inno-setup,javafx-8

Actually you can't change this using ANT. However, as you already know the deploy mechanism uses Inno Setup and you can modify its behaviour. During the fx:deploy ANT task a default ApplicationName.iss file is created. This default file contains e.g. the setting, which is responsible for the install directory. This...

How to install postgres with NSIS with all parameters?

postgresql,installer,package,nsis

This is about right. Please do not use port 5432 for PostgreSQL. Pick a non-default port well outside that range, like 5599 or something. Change the port by modifying postgresql.conf and setting the port directive. You might find it useful to simply append include_dir = conf.d or similar in your...

WiX- Harvested with heat, what else needs to be added?

xml,wix,installer,windows-installer

The "flashing" you are seeing is likely due to the fact that you didn't author any UI. I blogged about this in "Are Dialogs Optional Now??" some 8 years ago and I was attacked for trolling (on my own blog??). I suggest taking a look at IsWiX. The visual studio...

how to skip dialog based on selected feature

wix,windows-installer,installer,msi-gui

If I recall correctly, MSI has a limitation that a feature state won't record until after you changed to another dialog. You are doing it right, it just won't work. I would transition to another dialog (SqlDatabaseDlg probably) and then on the next button of that dialog do your checks...

How to exclude component installation in an MSI?

windows,command-line,scripting,installer,windows-installer

Error 2711 is because the ADDLOCAL property expects a list of feature names not component names. You'll need to create a transform and apply it with TRANSFORMS=foo.mst to exclude just a component from the installation.

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

From what I know there is no way to create a multilingual VS setup project which at install time will let the user to choose the install language. I'm not sure if this is a feasible choice for you, but as an alternative solution you can try to use a...

How to make setup in Visual studio 2012

visual-studio-2012,installer,installshield

In visual studio 2012 , there is not any installer project provided, you need to install InstallShiled installer. Other wise I would suggest you to go with older version of Visual studio like 2012 or latest version of 2013, these both IDE have Installer package. if you still want to...

Where did the internal Rust docs go?

documentation,installer,rust

I think the internal APIs were removed from the distributed docs because they took up the bulk of the size. You'll have to build it yourself for local docs. We're discussing using an /internals page for the full docs. However, I've put up a mirror here for now. This mirror...

How does Wix decide to install a particular file?

wix,installer,wix3.9

Versioned files get replaced based on file version, yes, but data files get replaced based on whether you have specified file hash or not. I think WiX generates file hases by default, so this is the overwrite rule: https://msdn.microsoft.com/en-us/library/aa370532(v=vs.85).aspx and it's a Windows Installer rule that applies to all MSI...

InnoSetup, Convert tasks to Radiobuttons?

windows,installer,inno-setup,pascal,pascalscript

You are missing the exclusive flag: [Tasks] Name: hidden; Description: Hidden mode; GroupDescription: Installation Mode; Flags: exclusive Name: visible; Description: Visible mode; GroupDescription: Installation Mode; Flags: exclusive ...

How to create .msi installer with WiX

wix,windows-installer,installer

WiX is a language (XML/XSD) that serves as a way of authoring (compiling) Windows Installer (.MSI) databases. WiX doesn't install anything, MSI does. I maintain an open source project called IsWiX. The concept is simple. IsWiX provides additional WiX project templates (scaffolding) and graphical designers to assist you in creating...

Installing software using command line silent mode

batch-file,azure,command,windows-installer,installer

As the documentation states there are explicit switches and configuration files for your installation scenario. A simple example could be gpg4win-2.2.4.exe /S /D=D:\Temp\Gpg4win specifying /S for silent and /D for the destination path which might be relevant for your scenario. If you need more detailed setting the documentation shows how...

Check for .NET 4.5.2 in WiX

.net,visual-studio,wix,windows-installer,installer

Those properties are new to WiX v3.10.

INNO setup writing a multi line text constant to the registry

installer,inno-setup

Using a simple variable should work. #define mytext "some long text value\r\ngoing onto another line" [Registry] Root: HKCU; Subkey: "Software\my company\My software"; ValueType: string; ValueName: "Message"; ValueData: "{#mytext}" However, writing a ValueType: string to a registry in Windows means you are writing a REG_SZ. The \r\n will appear as text...

Detecting .Net framwork Reboot required

installer,nsis

ExecWait will tell you the exit code of the child process: ExecWait '"c:\path\app.exe" /whatever' $0 DetailPrint $0 ...

What files do I need to distribute as an alternative to MS Visual C++ 2005 ATL merge modules?

windows,installer,windows-installer,atl,winsxs

Your alternative is to run the VC_redist.exe for that version of Visual Studio, run it from the bootstrapper with whatever setup tool you're using. I don't know what you mean about packaging technology. The only way merge modules (msm files) can be installed is to add them at build time...

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

windows,batch-file,cmd,installer

You need to escape the first redirection symble (>) with a caret (^): ECHO ECHO HI ^> "E:\Log.txt" > "E:\Program.bat" Found this at http://www.robvanderwoude.com/escapechars.php by Googling "how to escape characters in dos batch"...

Change publisher name when deploying application

visual-studio,deployment,installer

You need to digitally sign the package with a code signing certificate acquired from a certified vendor (Thawtee, VeriSign, etc...). You cannot use a self-generated certificate. Windows OS automatically uses the company name you specified when building the setup package, but only if the package is digitally signed....

Is the Android “SDK Tools Only” Windows NSIS installer source code available anywhere on the Web? [closed]

android,installer,open-source,nsis

I mentioned my request in an issue in the Android issue tracker. From what David Herman at Google wrote in reply, it looks like it's not available online. He wrote: I'm not sure what the plans for the SDK installer are moving forward - it may get deprecated by the...

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

.net,visual-studio,installer

Navigate to the deployment project in the solution explorer Click the "Primary Output From (Application)" item Under properties, set the Exclude Filter to *.config ...

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

installation,windows-installer,installer,rollback,installaware

InstallAware and other tools such as Window Installer XML and InstallShield author Window Installer databases. Windows Installer handles this automatically for you by providing built in transactional installation and upgrade capabilities. The behavior you are looking for is controlled by where you choose to schedule the RemoveExisitingProducts action. See: RemoveExistingProducts...

Assembly Dependencies Change After Installation

.net,visual-studio,dependencies,installer,.net-assembly

Ok, figured it out. First, facepalm The assembly added via NuGet has a specific version dependency on Castle.Core 3.2.0. However, because that assembly can still work with Castle.Core 3.2.0-4.0.0, an assembly binding redirect got added to App.config that indicates to the assembly loader that any assemblies requiring a version in...

In Install4j, what can I do to fix an java.lang.OutOfMemoryError caused by installing too many installers with too many files?

java,logging,installer,out-of-memory,install4j

On the "Installer->Screens & Actions" step, select the installer and add -Xmx512m to the "VM parameters" property. If that does not help add -XX:+HeapDumpOnOutOfMemoryError and post the zipped HPROF snapshot....

Wix Burn, dependency installation failing

c#,wpf,wix,installer,burn

Ok, so i believe i figured it out.. There was an issue in how i had constructed the bundle xml. As the installer itself depends on the .Net, (as is mentioned on the internet in many places) this code snippet must be placed in a fragment..: <!-- This defines the...

Dealing with datasources in grails in connection with BootStrap.groovy

mysql,grails,installer,bootstrap

I highly recommend you consider using an external configuration file that will allow your customers to not only configure the data source(s) but any other aspects of your application when they deploy it. The Grails documentation has detailed information about how this is accomplished....

How to delete files created with *

installer,nsis

RMDir is safe. It's use of the /r flag that the doc warns about: Warning: using RMDir /r $INSTDIR in the uninstaller is not safe. Though it is unlikely, the user might select to install to the Program Files folder and so this command will wipe out the entire Program...

How to create a setup installer in Windows?

windows,installer,installshield

This should be easily done with every installer creation tools like InstallShield, Advanced Installer, etc. which have support for installing file and shortcuts, prerequisites packages (your EXE) and setting path variables.

How to add several ports to FirewallException in Wix?

installation,wix,windows-installer,installer,custom-action

Summary In WIX 3.9 (and earlier), the FirewallExtension only supports a single integer for the Port attribute. The Port attribute supports Formatted values, but the result of the formatting must still be a single integer. In your case [PORTS] must evaluate to a single integer. If the Port attribute is...

Are we still stuck with installer projects : .vdrpoj or Wix in VS2013?

visual-studio,visual-studio-2013,msbuild,installer,setup-project

Wix is the default way to go for free solutions that need to do advanced steps and must be able to integrate into Team Build and MsBuild. Product Free/Paid VS designer MsBuild Support InstallShield LE free yes yes InstallShield Pro paid yes yes InstallAware paid yes yes 3) Advanced Installer...

Checking port value using CDATA in WIX

wix,installer,windows-installer,cdata

The problem is that your property is treated as string, thus < and > don't really make sense in the way that it should. You have two choices: Use Edit control and set Integer attribute as yes: <Control Type="Edit" Integer="yes" .../>. This will make sure that property is treated as...

Expand an x86 .exe to 'C:\Windows\System32' under both Windows x86 and x64?

windows,installation,installer,system,inno-setup

Answered in parts like your question: ArchitecturesInstallIn64BitMode Valid values: One or more of the following, separated by spaces: x64 ia64 Default value: (blank) Description: Specifies the 64-bit processor architecture(s) on which Setup should install in 64-bit mode. If this directive is not specified or is blank, Setup will always install...

Distributing installer of Windows desktop application

windows,deployment,amazon-s3,installer,hosting

Big companies like Microsoft use a content delivery network which makes sure no matter where you come from a download server gets assigned to you which is as near as possible to your current location.

App operations not working since Android 4.4.2

android,installer,install,android-4.4-kitkat

I solved my problem: In the onStop() method, I delete the downloaded APK file. In previous versions of Android, the onStop() method was not called if the install dialog appears, but in Android 4.2.2, the method is called and so the APK file was deleted.

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

msbuild,wix,installer,wix3.5

You can define preprocessor variables with Candle as so: candle.exe -dMyVariable=whatever. This is not a hard answer to find with google but my problem was that I was trying to do: candle.exe -dMyProject.TargetDir.Help=$(var.MyProject.TargetDir)Help\ So I was a little bit careless here forgetting that $(var.MyProject.TargetDir) is also created by candle and...

Ignore error message of error-handling?

installer,inno-setup,pascal,uninstaller,pascalscript

The possibility to check for the file existence beforehand was already mentioned. The user TLama mentioned that the code in the question is not regular pascal program code, but Inno Setup script code and and that my answer doesn't apply in this case. Because the following text could be of...

How to install into CSIDL_COMMON_APPDATA

windows,installer,nsis

The SetShellVarContext instruction changes some of the NSIS constants so that they point to the all-users version of the special path: Function .onInit SetShellVarContext all StrCpy $InstDir $AppData FunctionEnd ...

Check for specific program files in NSIS

windows,file,installer,nsis

So I found the solution to my problem: IfFileExists "C:\Program Files\program_name\program.exe" file_found file_not_found file_not_found: StrCpy $0 "This computer is not valid" Abort file_found: ;rest of .nsi IfFileExists checks if the following file exists. Goes to either file_found or file_not_found. I choose to abort if file is not_found...

How to generate executable across platforms

installer

If your code is in a .NET language, there are online and offline translators that can convert the code to Java. This is just language translation, and doesn't convert the API calls, but it would be a first step in the process. Another way to handle the problem would be...

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

SOLVED! I am giving the answer to my own question so that if anyone faces the same issue then it can be helpful for him. Solution: Go to View->Editor->User Interfaces. Remove the Welcome dialog. Again add the Welcome dialog. Build msi, and your issue will be solved. There may be...

Archive currently installed files using a NSIS installer

installer,zip,nsis

Code not tested, but it should help... # Bundle 7zip archiver and extract it to TEMP folder File "/oname=$TEMP\7za.exe" 7za.exe # If target directory exists... ${If} ${FileExists} "$INSTDIR" # Create archive on temp folder execwait '"$TEMP\7za.exe" a "$INSTDIR\archive.7z" "$INSTDIR\folder_to_backup"' ${EndIf} Delete "$TEMP\7za.exe" ...

WiX CustomAction shell command

command-line,wix,installer

You probably want return = asyncNoWait, as it says in the docs: "Indicates that the custom action will run asyncronously and execution may continue after the installer terminates. " ...

Wix ToolSet Patch Creation Using “Patch Creation Properties”

c#,wix,installer,patch,msiexec

The clue is in the message! Service packs, patches, hotfixes all depend on updating binaries based on the file version. Not only does this speed things up by not installing files that don't need changing, it ensures that you don't overwrite a higher version with an old version. Creation dates...

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

installer,inno-setup

You have to point DestDir: "{sys}" (or DestDir: "{syswow64}" ONLY in special cases) After Compiling the Installer, all files pointed in Source: will be integrated and stored in Setup.exe. During the Installation process, all files from the Setup.exe will be copied to it's destination folders described in your script as...

How do I deploy a Visual Studio addin with an installer like MSI?

c#,visual-studio,visual-studio-2013,installer

Here is a MSDN link on how to register an addin. http://msdn.microsoft.com/en-us/library/19dax6cz(v=vs.120).aspx It is easy to create an MSI from this. There are also several tools that have support for deploying an addin...

How does installers check for java version

java,windows,installer

The way I'd check for the Java version is running a simple class with the following: class VersionChecker { public static void main(String[] args) { System.out.println(System.getProperty("java.version")); } } EDIT: The reason why is that java -version will give something like this: java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14)...

Process not starting from InstallDir when launch an associated file “wix”

.net,wpf,wix,installer,file-association

Finally, all this behaviour was normal. What I had to do is to change my relative paths inside my application source code from something like: @(Directory\FileName) To: Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + @"\Directory\FileName"; It works. Always refer ro the assembly....

Elevated installer with elevated custom action does not elevate executable

c#,.net,wix,installer

By default a custom action will be elevated only if it is deferred, not impersonated, and between InstallInitialize and InstallFinalize, and it's a per machine install, and then it will run with the system account. Whether it will actually work or not depends on whether in that situation the code...

Handle Squirrel's event on an Electron app

windows,node.js,installer,electron

You could handle each Squirrel event and create shortcuts: case '--squirrel-install': target = path.basename(process.execPath); updateDotExe = path.resolve(path.dirname(process.execPath), '..', 'update.exe'); var createShortcut = updateDotExe + ' --createShortcut=' + target + ' --shortcut-locations=Desktop,StartMenu' ; console.log (createShortcut); exec(createShortcut); // Always quit when done app.quit(); return true; case '--squirrel-uninstall': // Undo anything you did...

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

windows-installer,installer,installshield,multiple-instances

I selected point 1 route "Maintenance Experience" and that worked for me. I converted my project from InstallScript MSI Project to InstallScript Project. I got the compile time errors in Setup.rul file but I find the alternatives for those errors and fix them and make the script able to compile....

install msi with a product code through msiexec

installation,windows-installer,installer,msiexec

ProductCode is a private property and isn't being passed to the installer session. I don't see why you'd need it anyways as it's in the MSI that you are installing. You can uninstall using a ProductCode (by substituting it for the path to the MSI not by passing it as...

Packagemaker for copy files

osx,installer,packagemaker

Ditch Packagemaker. Try Packages or pkgbuild with luggage.

Unable to read value with RegistrySearch

wix,windows-installer,installer,msiexec

You have a typo in your Key attribute: It should be HARDWARE\DESCRIPTION\System\CentralProcessor\0...

Compiling my Java program to intall on Mac

java,osx,installer

Start with Packaging a Java App for Distribution on a Mac and Java Application Bundler. This will allow you to package your application as a Mac .app bundle. Then you could look at something like this as an example There are plenty of cross platform installers, I tend to use...

Custom action to launch Msiexec during setup

c#,installer,action

This isn't going to work! One MSI setup cannot launch another MSI setup. When it says "another install is in progress" it is referring to your one that is already running. It's not about admin privilege - you cannot install another MSI from an installer custom action, no matter what...

InnoSetup, change the Uninstallable property behavior at runtime?

windows,installer,inno-setup,pascal,pascalscript

You can use the code shown in the Uninstallable directive documentation: [Setup] ... Uninstallable=not IsTaskSelected('hidden') [Tasks] Name: hidden; Description: Hidden mode; GroupDescription: Installation Mode Name: visible; Description: Visible mode; GroupDescription: Installation Mode Optionally, if you'd need more complex statements written in reusable function, or access some of the scripting code...

WiX MSI upgrade disallows installation of some components

xml,wix,windows-installer,installer,upgrade

The issue seems to be a recurring one, similar to this: http://support.microsoft.com/kb/905238 Windows decides not to install the files because a higher version exists, but doesn't re-evaluate that decision when it turns out we're doing a major upgrade. I thought this issue had been fixed in MSI 4.5. Doing the...

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

scripting,installation,installer,inno-setup

With Inno Setup you can even merge the script in primary installer .exe file, as Inno Setup has built-in Pascal scripting functionality. It's file-manipulation functions are rather limited, but maybe it's enough for your needs. Very simple example: [Code] procedure InitializeSetup: Boolean; var FileName: string; S: AnsiString; begin // Prepend...

Install windows service from installaware

c#,windows,service,installer,installaware

To install the service using InstallAware, Switch to Design mode and go to Advanced Options -> Services. Button "New..." -> Install Service In the dialog that opens, you will have to set up the "Service File" tab and the "Service Properties" tab correctly. In the "Service File" tab, you have...

Confusion around Signing Mac App Installer

xcode,osx,installer

Silly me; I was using the bogus certificate name "3rd Party Mac Developer Installer: (My Name)" instead of "Developer ID Installer: (My Name)". A quick test using: spctl --assess --type install <packagename>.pkg gives: <packagename>.pkg: rejected ...which means that the package wasn't signed correctly for running as an installer I guess....

Launch after installation

c#,windows-installer,installer,restart

This works for me : [RunInstaller(true)] public partial class Installer1 : Installer { public Installer1() { InitializeComponent(); } public override void Install(IDictionary savedState) { savedState.Add("InstallDir", Context.Parameters["dir"]); base.Install(savedState); } public override void Commit(IDictionary savedState) { base.Commit(savedState); Start(savedState); } private void Start(IDictionary savedState) { try { string DirPath = (string)savedState["InstallDir"]; if (!string.IsNullOrEmpty(DirPath))...

Creating an empty directory (NSIS)

windows,installer,nsis,error-checking,create-directory

I decided: ClearErrors CreateDirectory $R1 ${If} ${Errors} ${OrIfNot} ${FileExists} "$R1\*.*" DetailPrint "failed" MessageBox mb_IconStop|mb_TopMost|mb_SetForeground "Can not create folder $R1" Abort ${Else} DetailPrint "done" ${EndIf} have more ideas?...

What to put into a Windows Installer MSI directly vs. a wrapper/boostrapper?

wix,windows-installer,installer,burn

Short-ish answer: When there are multiple MSI files it is normal for the UI to be handled by the Burn bootstrapper because you do want to see combined progress, not all the separate MSI UIs. You also should set up appropriate rollbacks of more than one MSI in the event...

Exclude syntax in this code

installer,inno-setup

The Excludes parameter directory tree base is specified by the Source parameter path. All patterns listed there are relative to this dir tree base path. From what you posted is hard to tell what's correct for you because those script excerpts do something different. Your first script sample excludes this:...

How do I disassociate my VS2013 .msi install file from an earlier/forked version of my software?

windows,visual-studio-2013,installer,windows-installer

For the record, I figured out the problem. Changing the UpgradeCode value is all that is necessary to achieve the behavior I want, but due to the way the software's build process has been set up, changing it in the .vdproj file was insufficient -- there was also a MyProgram.variables.wxi...

Slow wpf startup due to publish policy… maybe

.net,wpf,deployment,installer,publisher-policy

That set of traces appears to be related to COM instantiation based on "advertised" COM classes. Without knowing anything about how your MSI is organised into features, components and COM registration it's hard to be completely sure. But anyway, if the COM classes are registered using the Class table in...

How to install redistributable with visual studio setup?

visual-studio,installer,redistributable

That's what the Prerequisites button is for in the setup project's Properties. You'll need to set a configuration (such as Release) before you see that button. That's where you add the VC++ runtimes. That will generate a setup.exe that users run - it will install any of those prerequisites and...

Make Installer for both User and Adminstrator

c#,wix,installer,wix3.5

In that specific registry case, you use the HKMU registry key for, it does that switch for you. In the more general case you'd perhaps need to follow these guidelines depending on what else is in your install: http://msdn.microsoft.com/en-us/library/windows/desktop/dd408068(v=vs.85).aspx ...

WiX - upgrade services

wix,installer

That condition is incorrect if you are using it in your upgrade setup. UPGRADINGPRODUCTCODE is set in the older already installed product that is being replaced and uninstalled, NOT in the new incoming upgrade. For that you need the property from the upgrade element, WIX_UPGRADE_DETECTED if you use the MajorUpgrade...

How to add prerequisites with a ClickOnce Application or Setup Project

.net,windows,visual-studio-2012,installer,prerequisites

Reinstalling the SDK solved the problem.

Evaluate conditions before custom actions

.net,visual-studio,wix,windows-installer,installer

A custom actions gets executed at a certain step during the installation, depending on where you schedule it. In your case, you need to schedule the custom action to be executed after the standard action "LaunchConditions". By adding something like this in < InstalUISequence >: <Custom Action="WarnIfOutlookNotInstalled" After="LaunchConditions"><![CDATA[NOT Installed]]></Custom> ...

Having an issue with WIX upgrade

wix,windows-installer,installer,custom-action

I believe this is occurring because in your installer the default mode is Per-User hence it is not detecting per-machine. You could use MSIGetProductInfo to find the installed products if the assignmenttype is “1” then you could set the below properties to Product Code of Per-Machine product WIX_UPGRADE_DETECTED OLDERVERSIONBEINGUPGRADED Use...

WISE Windows Installer Editor Launch Condition By date

windows,installer,windows-installer,wise

It's difficult to do this effectively in MSI because it would be so easy to bypass it. You'd be better served by either building a self-extracting EXE that does the date time check or moving the business logic into the application proper so that it stops working after a certain...

WiX error build target

msbuild,wix,installer

There are two problems with your project file: The <WixTargetPath ...> line [[MajorVersion]] should be replaced with '3', The <Compile...> line should to refer to the correct file 'Test.wxs'. Try this project file: <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform>...

How do i get the return value from command prompt in NSIS installer?

command-line,scripting,installer,command-prompt,nsis

The ExecDos plugin can provide stdin text to the command you are executing.

Enable MSI Logging with WIX by default

logging,wix,installer,windows-installer

See: MsiLogging property The problem is it's only available starting with MSI 4.0. There's also a bug in Windows 7 where sometimes uninstall from Add/Remove programs will fail because explorer loses where the temp directory is. Additionally it creates Msiabcxyz.log (abcxyz is some random hash) in the TEMP directory that...