Category "windows-installer"

How to migrate from InstallShield to Visual Studio Installer Projects

I have an application in VS 2015, and I am using Visual Studio Installer Projects to generate the installer. On each new version, I change the Version and the P

VS 2022 Setup Project Uninstall Registry Key - InstallSource = Package Cache

My IT dept. is telling me that usually apps copy the install MSI to ProgramData\PackageCache and updates the registry key to point to this location. They want m

Install MSI on remote computer using Powershell

I am trying to write a Powershell script which will deploy software on a collection of WS2016 servers. I am a local administrator on all these servers. Here's w

Is there a way to exclude document files from the installation folder for vb.net project?

I have created a windows form application using vb.net 2019, and everything seems fine until I found out that an .xml document which contains confidential files

How to install application Updates on multiple windows machine using any tool or script [closed]

I have around 100 windows machine(VMs), All the machines have few updates for chrome , notepad/notepad++ , Firefox ,Jenkins which have not b

Jenkins failed to start - Verify that you have sufficient privileges to start system services

When installing Jenkins (LTS) on windows 10 via the installer, after choosing the JDK folder - an error pops when the service is trying to start. The error read

$(TargetPath) for WiX project is incorrect for the post-build event

I'm using $(TargetPath) for post-build event for my WiX installer, that is built under VS 2022, and it is translated to: C:\projects\My project\Installer\instal

Not able to register and unregister .dll file through electron-builder custom NSIS include script

I have created a electron desktop app and created a installer using electron-builder. Now I want to add capability of registering a .dll file at the time of ins

How to customize icon for Wix custom bootstrapper

I want to use different icons for my setup.exe (top-leftmost corner of the installer window) and Add/Remove Programs. In my Bundle.wxs, I used <Bundle ... Ic

How can I make a set up file to install my Sinhala Keyboard using Keyman Developer?

I have developed a Sinhala Keyboard using Keyman Developer 14.290. I have compiled it to a 'KMP' package file. I use it in my computer and shared with several f

Program triggered by msi can not create xml files on network volume

I have a HMI program that uses xml files for some machine specific settings. Theese xml files are stored on the machine itself while the HMI is running on a com

Adding launch conditions to Microsoft Visual Studio Installer Projects (check app is running)

I'm using Microsoft Visual Studio Installer Projects for my Hybrid Widndows Forms/WPF project. I need to make sure the user has closed the Application (an older

Redirect stdout from Executable Custom Action to MSI log

I have a Custom Action that runs an executable within an msi installer package. The exe is compiled as a console application and stdouts necessary info. I want

How to disable a particular CustomAction for previously installed version during an upgrade installation with MSI database?

I have a package whose previously installed versions contain a series of poorly designed custom actions: they do stuff that can be done out of the box. Thus I'm

Chained Installation

Consider a case where I have installshield software which installs a .msi through chained installation. Let's say it's Setup-1. Now I have another setup Setup-2

How can I find the product GUID of an installed MSI setup?

I need to find the product GUID for an installed MSI file in order to perform maintenance such as patching, uninstall (how-to uninstall) and also for auditing p

wix toolset bootstrapper msipackage incorrect detect state

I am creating vsto installer by wix toolset. Bundle.wxs <Chain> <PackageGroupRef Id="NetFx40Web" /> <PackageGroupRef Id="PG_VSTORuntime" />

Getting MSI Summary Information

i want to get the MSI Summary Information with PowerShell i found several scripts and code snippets for opening the "normal" Tables of MSI. So here is my questi

How to execute MSI file on Github Actions (windows-latest runner)

Context I created a Github Actions workflow that generates a .msi file that I wan't to execute afterwards to test if the application is working as expected. The