Programmatically extract contents of InstallShield setup.exe

There’s no supported way to do this, but won’t you have to examine the files related to each installer to figure out how to actually install them after extracting them? Assuming you can spend the time to figure out which command-line applies, here are some candidate parameters that normally allow you to extract an installation. … Read more

Visual Studio 2017 setup project missing

Full explained and working solution: 1) open vs2017 and select “Tools” -> “Extensions and Updates” 2) Under Extensions and Updates select “Online” on the left of the window and on the right type in search box “Visual Studio Installer Projects Extension” hit enter and it is the first download in result (attached image) select this … Read more

Include files marked as “Copy to Output Directory” with Installshield LE

How about adding loggly related configuration in App.config file like below. I am using it for hosting WCF service within Window Service and it works fine for me. <configSections> <section name=”log4net” type=”log4net.Config.Log4NetConfigurationSectionHandler, log4net” /> </configSections> <log4net> <root> <level value=”ALL” /> <appender-ref ref=”LogglyAppender” /> </root> <appender name=”LogglyAppender” type=”log4net.loggly.LogglyAppender, log4net-loggly”> <rootUrl value=”https://logs-01.loggly.com/” /> <inputKey value=”abcdefgh” /> <tag … Read more

The type initializer for ‘CrystalDecisions.CrystalReports.Engine.ReportDocument’ threw an exception

Here is what worked for me: If you are installing on a 64-bit machine, make sure the application properties under the Build tab have “Any CPU” as the platform target, and unselect the check box for “Prefer 32-bit” if you have the option. Crystal is very touchy about 32/64 bit assemblies, and makes some pretty … Read more

MS Access DB Engine (32-bit) with Office 64-bit

Here’s a workaround for installing the 64-bit version of the Microsoft Access Database Engine 2010 redistributable on a system with a 32-bit MS Office version installed: Check the 64-bit registry key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\FilesPaths” before installing the 64-bit version of the Microsoft Access Database Engine 2010 redistributable. If it does not contain the “mso.dll” registry value, then … Read more

Extract MSI from EXE

For InstallShield MSI based projects I have found the following to work: setup.exe /s /x /b”C:\FolderInWhichMSIWillBeExtracted” /v”/qn” This command will lead to an extracted MSI in a directory you can freely specify and a silently failed uninstall of the product. The command line basically tells the setup.exe to attempt to uninstall the product (/x) and … Read more

How to execute custom action only in install (not uninstall)

Add a condition on the action so it’s only triggered during installation, not uninstallation. Action run only during Install NOT Installed AND NOT PATCH Action runs during Install and repair NOT REMOVE Run on initial installation only: NOT Installed Run on initial install or when repair is selected. NOT Installed OR MaintenanceMode=”Modify” To only run … Read more

What installation product to use? InstallShield, WiX, Wise, Advanced Installer, etc [closed]

UPDATE, Aug.2018, a new and shorter option: How to create windows installer. Focused on summarizing MSI and its major benefits and to list the major tools available (with download links), as well as mentioning some new, trending deployment technologies. I have worked in software development as a release manager, build engineer, setup developer and as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)