WiXInstaller | Template project for a WiX-based installer
kandi X-RAY | WiXInstaller Summary
kandi X-RAY | WiXInstaller Summary
Template project for a WiX-based installer for an Excel-DNA add-in
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of WiXInstaller
WiXInstaller Key Features
WiXInstaller Examples and Code Snippets
Community Discussions
Trending Discussions on WiXInstaller
QUESTION
I have used WiX Install tools in Visual Studio to create create an installer for my C# Windows Forms application.
The Installer works when invoked independently (command line or double-click); it uninstalls the existing version (1.0.1.2) and installs the new version (1.0.2.1) but the objective is to have SCCM push the application out to our 50+ workstations.
Answers to questions that have been asked:
It is configured in SCCM as an Application. This is only my third experience with SCCM, I am not familiar with Packages.
The Detection Method is 2 Rules:
Product Code {81748469-6B08-4C6C-99B5-BFCE7202FE06} must exist.
File %ProgramFiles%\PHSRP\PHSRP_Dashboard.exe with Modified Date >= 7/2/2019 12:00:00 AM must be present.
The installation is failing when SCCM is pushing it out. The installation log indicates that the installer believes that a newer version already exists, but this is not true.
...ANSWER
Answered 2020-Jan-26 at 16:10From Log:
What product does this product code from the log file belong to?
Property(S): WIX_DOWNGRADE_DETECTED = {8BC4D6BF-C0CF-48EB-A229-FC692208DFF0}
Product Code & Product Name: Maybe try to run this script to figure out what product that really is: 1)
copy & paste the script below into notepad, 2)
save as ANSI file: "Product Code Lookup.vbs"
on desktop, 3)
double click script file to run:
QUESTION
I've written a Excel-Dna based Addin in C#. Used the following technique to register it at users computer (from WixInstaller and ManageOpenKey):
Locate the active Excel version key in registry (16.0 for this example): HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Options
Write the path of the XLL in the first available string value named "OPEN". As seen in this screenshot, my Addin is written at "OPEN1" key.
Everything works as expected in the installation, but the problem starts if one of the addins is uninstalled using WixInstaller.
For example, if value "OPEN" is removed, addins at "OPEN1" and "OPEN2" will stop functioning. Excel explicitly looks for "OPEN", "OPEN1", "OPENXXX" sequence and if one of the values is missing - it stops enumerating. I checked the source code of ManageOpenKey - it "blindly" removes the addin key even if this operation breaks the sequence.
Only solution I am thinking, is to write a function that re-orders all the keys. This does not look so difficult, but my question is: Have anyone found a solution for this?
...ANSWER
Answered 2019-Jul-31 at 18:35Yes you would have to rewrite the OPEN keys so that they are in contiguous ascending sequence.
Also worth removing the key from the ADDINS hive in case a user has used the XL Addin manager to move it from the active to the inactive list of addins.
QUESTION
I'm facing the following error while create windows installer using wix. Undefined preprocessor variable '$(var.WixInstall.TargetPath)'. WixInstaller D:\work\Extractor\WixInstaller\Product.wxs
Please Note: I have tried the following answers but no gain [Wix 'undefined preprocessor variable' , [WiX undefined preprocessor variable , [WiX - Undefined preprocessor variable '$(var.SetupProject1.TargetDir)'
Product.wxs code
...ANSWER
Answered 2019-May-09 at 20:43Getting a Heartbeat: first things first, in order to get this to compile so we can verify that there are not other problems:
Absolute Path: Please try to hard code a full path to a file that you know exists at the target location:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install WiXInstaller
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page