8,965 questions
0
votes
1
answer
490
views
PowerShell, automate Java JRE 11 (Adoptium, Eclipse Temurin) installation and configuration
I would like to automate the installation of Adoptium. So far, I have been able to download the latest version of the .msi
$baseURL = "https://api.adoptium.net/v3/assets/feature_releases/11/ga&...
0
votes
1
answer
156
views
Install multiple instances of windows service via MSI (or other installer)
I was developing an application that eventually was going to be configured as a windows service. Several instances of this application can be run on a single server. So right now we just create ...
0
votes
1
answer
53
views
How to create an installer in Visual Studio for a c# Winforms Client Application with a MySQL database
I'm working on a C# Winforms client application that interacts with a MySQL database, and I'm looking for guidance on how to create an installer for it using Visual Studio. The application and the ...
0
votes
2
answers
421
views
DigiCert - Azure DevOps YAML task SSMClientToolsSetup@1 Fails with "The Windows Installer Service could not be accessed" Error
Azure pipeline fails on the SSMClientToolsSetup@1 task:
Starting: SSMClientToolsSetup
==============================================================================
Task : Installer for ...
0
votes
1
answer
137
views
WiX v4 Toolset: run custom batch script and store output data to the variable
I'm currently exploring WiX v4 and I'm facing a small challenge in my scenario.
My scenario:
I've developed an installer for a Windows service. Prior to the installation of this service, I need to ...
5
votes
2
answers
1k
views
MSI installs when used in command line but not when it's clicked
I have a MSI installer for my WPF application. Usually it's built and deployed via an AzureDevops pipeline but it fails since 8th of April. I think it's important to note: there were no code changes ...
0
votes
0
answers
354
views
How do I create an auto-installer?
This is my first job working in IT and I am still kind of learning the ropes so to speak.
The company I am at has it's own in house software that I am frankly too young to understand. I have installed ...
-1
votes
1
answer
144
views
Wix bundle of third party exe and new msi cant figure out detect conditions
I am trying to figure out how to bundle a third party software .exe with my wpf app .msi. I created a wix installer project and have that building my .msi file correctly and now I want to bundle that ...
0
votes
0
answers
423
views
Using msiexec on unattend.xml as SynchronousCommand but it run as asynchronous
I try to automatise my Windows configuration with unattend.xml file and during FirstLogonCommands, I only have SynchronousCommand block,
On theses blocks, i ran differents PowerShell scripts and ...
1
vote
4
answers
516
views
WinAPI / WIX - How to detect if the MSI installer is running on ARM64 or x86?
I'm updating an existing installer and want to install specific ARM64 binaries when the OS is running on ARM64.
I'm using WIX 3.11 (a bit old, I know) to create the installer. The custom actions are ...
2
votes
0
answers
200
views
How do I create a Visual Studio project for existing Wix v3 code?
We have Wix v.3 code which we have been using for years (with tweaks for each version) to build our installer. Up to now, it has been done in a Windows command shell, not as part of a Visual Studio ...
6
votes
0
answers
1k
views
Instructions on how to obtain a Code Signing certificate and prepare a legacy MSI installer to be accepted by the Microsoft Store
I am posting this answer as I could not find anywhere that listed in detail exactly how to code-sign a legacy MSI installer using a 3rd party Code Signing certificate so that it is accepted by the ...
0
votes
2
answers
197
views
Uninstalling Windows SDK in a msi installer project
I have created a msi installer using microsoft visual studio 2022, where i am able to install signtool.exe reading from signtool installation steps
This was the command which i had used in a .bat file:...
3
votes
0
answers
142
views
How to improve message for jpackage install dialog in MSI
This script created jDiskMark-0.5.1.msi with jpackage. When I run the installer it will list a name of a msi which is not the same as the msi file I packaged and ran which is miss leading to a user.
...
0
votes
1
answer
116
views
unable to start windows service after registering for start node server using inno setup script [duplicate]
Hello Stack Overflow community,
I'm facing an issue with an Inno Setup script and need some assistance. During the installation of an executable (Exe), I have to register one windows service for start ...
0
votes
0
answers
238
views
How to create MSI installer
I am a beginner at creating MSI, so I don't know much about it. Here, I need to create an installer. When the user clicks the installer exe file, it should automatically install and set up Python and ...
1
vote
0
answers
247
views
Windows Service running as a specific user (not Local System) cannot use msiexec
I am creating a Windows Service in C++.
I want to allow the Windows Service to update itself (upon a certain trigger) by running msiexec /p patch.msp /quiet /qn.
I am currently using the Windows ...
0
votes
1
answer
172
views
How to force override Component->File with WiX during installation?
I am trying to overwrite a config.properties file with my WiX setup. I use systemtools:TemplateFile to replace placeholders in a template file. But the setup fails to update it since it has been ...
0
votes
0
answers
79
views
How do I retrieve text from a file stored in a binary table?
I want to retrieve a script that is stored in the binary table in an MSI.
How can I do that?
I tried this:
string query = $"SELECT `Data` FROM `Binary` WHERE `Name`='{sourceName_}'";
using (...
1
vote
1
answer
137
views
Can we encrypt MSI property values so that user cannot open the MSI/MST to see the value?
Suppose, I have a input Password while an application is getting installed.
The application source is "MSI" and I am creating an MST file for it and providing the password in plain text as a ...
2
votes
1
answer
1k
views
How to launch application after installation (WIX toolset v4)
This question is answered here for WIX toolset v3 but I don't seem to find a lead to do the same on WIX v4. There is this link in the official documentation making reference to ...
0
votes
1
answer
49
views
WIX 3 and major upgrade : older package uninstall runs without bootstrapper application
I have one package and one bundle, which installs/repairs/modifies/uninstalls that package. The bundle features a managed bootstrapper application. The framework is WIX 3.11.
The package supports ...
2
votes
0
answers
129
views
jpackage jlink sign binary within msi
with jlink/jpakage i create a msi to install my javafx app but if i sign msi the final binaries installed are not signed at all.
With an ant task and non modular app i know how to do it "create ...
0
votes
1
answer
229
views
How to make an NSIS installer like Notion's?
I want to create the nsis installer like Notion's (desktop version on windows). I already know that Notion installer is created via nsis. It is not the default installer from nsis but one that is made ...
0
votes
1
answer
108
views
Why is my WiX Installer not updating my XML config file?
I'm trying to create an installer authored in WiX, and while I think my code is correct based on other examples that I've found, the XML file is not being updated on installation. I'm trying to use a ...