111 questions
0
votes
0
answers
19
views
WiX Toolset bootstrapper hangs after installing VCRedist
When trying to install the bundle, VCRedist seems to still set the reboot flag even though the argument /norestart is used.
The installer then idles/ hangs with 0% CPU usage in the task manager and ...
1
vote
1
answer
277
views
How to compile WixSharp Managed Actions
First, thank you for this fine piece of work. I cannot for the life of me figure out why I cannot get a SINGLE custom action in WixSharp to compile. Here a very trimmed down example of code which ...
1
vote
0
answers
22
views
Why can I call the same .msi twice / multiple times on Windows Server operating system?
my question straight forward: I'm building a Windows installer with WixSharp. Using a template project for example, I can't install the same software twice. Windows will give me an error that an ...
0
votes
2
answers
566
views
How do I configure or suppress RemoveFiles with WixSharp?
I'm on a new team that has inherited a cross-platform application, along with installers for Windows, Mac, and Linux.
The application is a silent background agent responsible for applying patches and ...
0
votes
1
answer
74
views
How can to run custom action that would run on CANCEL/abort installation?
how can I run CA that would run on CANCEL/abort installation?
I'd like to run a command in case of cancel/abort.
I need it to support at quiet mode too.
Also, how can I detect it's on cancel mode?
...
0
votes
0
answers
53
views
Install another app after user choose 'Install' in the UI but before start the services
I'm using Wix# to create windows MSI installer.
I want to to install a specific version of .NET MSI installer via my installer.
I want to do this only after the user clicks on 'Install' on the UI but ...
0
votes
1
answer
144
views
WixSharp: Invalid characters in path error when adding ManagedAction to Project
I am using WixSharp v1.9.2 to create an MSI file, and I am trying to add a ManagedAction to my Project object. However, when I execute the project.BuildMsi() instruction, I get the error message "...
1
vote
1
answer
654
views
Why is it possible to install two MSIs with the same upgrade code?
Building MSIs with WixSharp since years, I always followed this rule which basically says:
For each new release of your application, change the ProductCode but never change the UpgradeCode.
This ...
0
votes
1
answer
178
views
Wix (Wixsharp) one msi in different bundles
I have two bundles. Both bundles contain 2 msis. One of these msis is shared between bundles so we have something like that:
Bundle1 contains Product1.msi and Aux.msi
Bundle2 contains Product2.msi ...
2
votes
1
answer
1k
views
Code Signing Wix installer in the pipeline using azure key vault
I'm trying to code sign a Wix installer package that was developed by another company (I have limited knowledge of Wix).
As a proof of concept piece of work we did I signed the MSIs and EXE using ...
0
votes
1
answer
451
views
ProgramData environment variable not recognized wixsharp
I tried to delete a folder at uninstall but it does nothing.
specifying the path though, get it to work.
Not working:
public void OnAfterInstall(SetupEventArgs e)
{
if (e....
0
votes
1
answer
47
views
Set service's version NOT by GUI, wix
How to set the service version as the installer version, using wix?
How to set it by the installer's coding, NOT by GUI.
For example : running service creates a .exe file in the bin folder.
1
vote
0
answers
114
views
How can I NOT to display custom error messages in silent install?
I'm using WixSharp for building an installer.
How can I NOT show the user custom error messages during silent install only?
I mean - running via GUI will show the errors, only via silent install not.
...
0
votes
1
answer
470
views
error LGHT0103 : The system cannot find the file
Running a WixSharp Managed Setup up project I'm getting this error.
Using WixUI_Common
C:\agent\_work\66\s\src\ext\UIExtension\wixlib\Common.wxs(7) : error LGHT0103 : The system cannot find the file
...
0
votes
1
answer
839
views
How to add all contents of build folder to installation using Wix#?
Im trying to add all output files of a given path to the installation that end in either .exe, .dll or .config, but the ways I have tried so far haven't worked.
This is what I've tried:
private static ...
0
votes
2
answers
1k
views
Provide the Installation directory location at runtime in wix sharp
I am using wix sharp to develop my installer and everything is working fine except I'm unable to provide the install directory location at run time. While installation, I'm taking input from user and ...
0
votes
1
answer
195
views
How can I use WixUI to select a server to run a script on Installation
Im using Wix# to deploy our software which needs to run an SQL script to install the database on installation.
However I would like to give the user the option to select the server to install the ...
0
votes
0
answers
97
views
Will my customers need SQL Server Express installed in order for my WiX installer to install the SQL Server database for my software?
I'm using Wix# to install my software and am running a script to install the database used by my software.
Will users installing my software need to have SQL Server Express or some alternative ...
0
votes
2
answers
203
views
WixSharp including appsettings, regardless of predicate
Im using WixSharp to build my installer. In my project, I have this :
new Files(
new Feature("RootFilesFeature"),
Path.Combine(C_SERVICE_RELEASE_PATH,"*.*"),
(lFilename)...
0
votes
1
answer
1k
views
Wixsharp - Could not load file or assembly
I am trying to include some reference files in Wix# managed project using DefaultRefAssemblies.Add method:
ManagedProject project = new ManagedProject();
project.DefaultRefAssemblies.Add("...
1
vote
1
answer
1k
views
Wixsharp custom ManagedUI after bootstrapper bundle install prerequisites
I want to install prerequisites and then display custom UI, with ManagedUI. So far I noticed that doesn't work. It works if I use Wix prebuild UI (WixUI_FeatureTree) but not with ManagedUI. I have ...
0
votes
0
answers
578
views
Wix:Is it possible to remove the bundle entry from the "Add/Remove programs" in control panel?
If the installer is built by "Microsoft Visual Studio Installer Projects", no matter I run the Setup.exe or Setup.msi to install my program, the "Add/Remove programs" in control ...
2
votes
1
answer
369
views
Update app.config after installation usng Wix#
I am totally new to Wix and wix#, I am trying to update the app.config after the installation is finished.
I am able to achieve it by using the Wix Util extension util:XmlFile, but I want it to be ...
1
vote
2
answers
1k
views
Upgrade is not working at all, installing another version of application (Wixsharp, custom Bootstrapper)
I'm new to wix/wixsharp and bootstrapper. I created an installer and providing ProductID, UpgradeCode and version. Installer is working fine but when I'm creating new installer and giving different ...
2
votes
1
answer
742
views
Post Build event is executing before the msi is built in visual studio with wix sharp
I have several projects which generates several references.
and in the installer project which ultimately generates a MSI file; using WIX sharp.
There are pre build events written to copy the ...