I am creating the *.msi installer package using the Visual Studio "Set up" project using VS 2022. I have a particular requirement to identify the previous version of the installed application's "version ID" (which is present in the registry) before the installation of the new application starts.
With "Launch Conditions -> Add Registry Search" within "set up project" I can only get the previous version of the application is installed or not, and display the appropriate message.
However, my requirement is to get the Version number from the registry and display the message to the user that "Application of this version ID is already installed in your system" at the beginning of the installation.
I appreciate any suggestion on other tools(free version and *.msi package generator) which are capable of this feature or is there a way to achieve this within VS "Setup project".
Is there a way to display the previous version of application's version ID before installation begin
47 Views Asked by AyrtonSenna At
1
There are 1 best solutions below
Related Questions in WINDOWS-INSTALLER
- Wix bundle of third party exe and new msi cant figure out detect conditions
- create MSI that can be installed in console per user and per machine
- Invoke-command works only when any user is logged (msi install)
- Windows installer silently skips over component marked as 'Local'
- Customizing the Behavior of the BrowseDlg in WiX to Use a Custom Dialog for Invalid Directories
- Unable to format string in desired format - WiX
- Creating a Desktop Version of a Web Application (NextJS TypeScript Golang Echo)
- wix toolset radio button condition
- Creating an Installer Wizard
- Using msiexec on unattend.xml as SynchronousCommand but it run as asynchronous
- How to protect MSI installer digital signature from tampering
- I finished writing the code for an Android application, and it was in Python kivy, and while converting it to exe, this problem appeared
- Windows Installer Issue: Files Not Replaced After Major Upgrade - Seeking Assistance and Clarification
- WinAPI / WIX - How to detect if the MSI installer is running on ARM64 or x86?
- 'The cabinet file media1.cab required for this installation is corrupted and cannot be used ' in dowloading Node.js
Related Questions in SETUP-PROJECT
- C# WPF Visual Studio 2022 + SQL Server 2019 database. How to create SetupWizard properly?
- Getting the setup of the project prepared with C# and MSSQL on another computer
- Visual Studio Installer Project doesn't include my software exe
- How to make Bltools Projects, using devtools
- To validate user install step in installer project in Visual Studio 2022
- How can I access the summary information of a dll file installed in the GAC directory?
- How to setup an angular project in MacOS in vs code
- How to keep installation path while install my application and remove it while uninstalling it
- I can't create the setup in .NET Framework 4.7.2
- I was trying to set up drift using official documentation
- Microsoft Visual Studio Installer Projects 2022 - Error 1001 when installing migrated Windows form application to Visual Studio 2022/.Net 4.8
- Setting up IntelliJ environment to run old grails 2.4.2 code
- Visual Studio 2022 Installer not Bundling VC++ Redistributable
- Visual Studio Setup Project with VSTO Addin
- dependency errors- react native(0.65) project setup and upgrade
Related Questions in VISUAL-STUDIO-SETUP-PROJE
- VS2010 Installer Project Custom Action to run an EXE is failing
- Creating .msi installer for only specific Project Output
- Visual studio 2022- incompatible installer project or doesn't support specific csproj file
- Visual Studio Installer using obfuscated DLL's
- Microsoft Visual Studio Installer Projects: Issues Installing for 'yourself' or 'anyone who uses this computer'
- Visual Studio Installer Project doesn't include my software exe
- Visual Studio Installer run script as administrator
- Creating installer for a C# Windows forms app with MS Access dependency
- Switch from Windows Installer to Wix and Remove Previous Version
- Get 2714 during msi install
- Eliminating the option of choosing the installation folder for users
- Unable to locate "Installer Class" option for Visual Studio 2022 (Windows Installer) off "Add Item" templates
- How to set the custom Microsoft visual studio projects MSI to open it without admin power
- Create installer with main project and somes class libraries
- CefSharp MSI Installer Project - Unrecoverable build error - 0x8007000B
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Visual Studio Setup projects (.vdproj) are notoriously underpowered. You can do all of this with the WiX Toolset, but it will take more effort. Certainly, more work than will fit into a StackOverflow answer. :)