Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7940151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:18:16+00:00 2026-06-03T23:18:16+00:00

I have an Installer for an application, which I use some customactions in that.

  • 0

I have an Installer for an application, which I use some customactions in that.
At the time of installation I have been using some Custom MSI properties like
DBHOST etc. to determine the database host.

And the default value for this is localhost.

But I have been setting this DBHOST property with some other value (like 192.168.1.3) through the commandline at the time of installation. and the installation worked properly with the property set through the commandline.

But When I used the

    MsiGetProperty

function in a customation that has to be executed during the uninstallation time, I got the default value (localhost) instead of the value that i have set through commandline while installation (192.168.1.3)

Can Any one help me in this.? why this happened.?
Is it needed to do anything else to get the same value for the MSI property at the time of uninstallation?

Thanks In Advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:18:17+00:00Added an answer on June 3, 2026 at 11:18 pm

    A property value is not persistent, this means that on uninstall it will not remember the last value it had during the install and it will use its default one. The best and easier solution is to write this value in a registry entry and retrieve it during the uninstall using a registry search.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WinForms application that requires some configuration which I do at install
I have an installer class which I use to do some processing on the
I have an application that will use a device in some cases (i.e. printer).
Using WiX (Windows Installer XML) I have created an MSI installer which installs Word
I have an old legacy application around for which I only have the installer.
We have an installer application. In that we have one dll related to our
I have an application installer created with Inno Setup that deploys multiple binaries and
We have a .NET application for Windows which is installed locally by Microsoft Installer.
I have a desktop application which uses flat files (some xml and small pictures)
All I have built a windows form application using VS 2005 Standard edition which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.