Free software for Windows installers: NSIS vs. WiX? [closed]

If you want to get an installer done today, with the minimum amount of overhead, use NSIS. Simple scripting language, good documentation, fast. If you want to build MSI files, integrate with the Windows Installer transactional system, and have plenty of time to devote to learning the declarative model used by Windows Installer, then check … 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

How do I install a library permanently in Colab?

Yes. You can install the library in Google Drive. Then add the path to sys.path. import os, sys from google.colab import drive drive.mount(‘/content/drive’) nb_path=”/content/notebooks” os.symlink(‘/content/drive/My Drive/Colab Notebooks’, nb_path) sys.path.insert(0,nb_path) Then you can install a library, for example, jdc, and specify the target. !pip install –target=$nb_path jdc Later, when you run the notebook again, you can … Read more

Inno Setup: How to automatically uninstall previous installed version?

I have used the following. I’m not sure it’s the simplest way to do it but it works. This uses {#emit SetupSetting(“AppId”)} which relies on the Inno Setup Preprocessor. If you don’t use that, cut-and-paste your App ID in directly. [Code] { ///////////////////////////////////////////////////////////////////// } function GetUninstallString(): String; var sUnInstPath: String; sUnInstallString: String; begin sUnInstPath := … Read more

Create MSI or setup project with Visual Studio 2012

Please see: Visual Studio setup projects (vdproj) will not ship with future versions of VS Windows Installer Deployment It was announced 1 1/2 years ago that the project types were being killed. Alternatives are: Use A VS2008/2010 Solution to build your installer Switch to another tool such as InstallShield or Windows Installer XML

How to install VS2015 Community Edition offline

edit: Starting from visual studio 2017 Microsoft is no longer offering .ISO images. For the new visual studio 2017 you have to download vs_community.exe from here and create an offline instalation folder: vs_community.exe –layout c:\vs2017offline Then, in order to install from that folder you have to first install certificates from \certificates in the download folder … Read more

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