WiX will not add HKLM registry setting during Windows 7 install

I have figured out why this is happening. With the WiX installer being compiled on a x86 platform, Windows 7 picked it up as the 32-bit installer with 32-bit registry keys. Windows 7 64-bit handles 32-bit registry entries by doing just what I saw happening. The program was still registered; it was just not in the … Read more

Adding Custom prerequsites to visual studio setup project

I figured out how to add Custom Prerequisites to the Visual Studio prerequisites dialog box. MSDN as a good article on creating the prerequisite. Basically you just have to create a product manifest and a package manifest, copy them along with your distributable file to : \Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages. Visual studio will automatically pick it … Read more

Inno Setup: Install other installer and run it before continuing my install

Better for the way you go might be the AfterInstall parameter. The following script will execute the RunOtherInstaller function right after the OtherInstaller.exe file entry is processed. There it tries to execute the just installed OtherInstaller.exe file and if that fails, it reports an error message to the user. Please note that you cannot interrupt … Read more

Set installation prefix automatically to custom path if not explicitly specified on the command line

CMake sets the boolean variable CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT if CMAKE_INSTALL_PREFIX has not been explicitly specified and is initialized to its default setting. You can override it in the following way: if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) set (CMAKE_INSTALL_PREFIX “${CMAKE_BINARY_DIR}/installed” CACHE PATH “default install path” FORCE) endif()

How to install Watchman on Windows (win10)?

For those using Chocolatey (this is not published on the website yet, but found the info in the github repo): Watchman is available to install via the Chocolatey Windows package manager. Installation is as simple as: PS C:\> choco install watchman Reference: https://github.com/facebook/watchman/blob/573b18b86b88759f31e83fa2e1837539d138de22/website/_docs/install.markdown#installing-on-windows-via-chocolatey Beware that installing Chocolatey itself is somewhat tedious, but here is the … Read more

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