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

  • Home
  • SEARCH
  • 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 1074763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:10:40+00:00 2026-05-16T21:10:40+00:00

so, here is the situation here. I have 2 asp.net websites + some winform

  • 0

so, here is the situation here.

I have 2 asp.net websites + some winform applications that are installed with a setup. They are all represented as merge modules into the setup project.

Currently when we want to update the global version of the application we must update all versions into asp.net websites and stuff. I know it is possible to detect the version into the assembly info of an asp.net application, which is quite easy. The difficulty here is to detect the “global” setup version. (say here the website is version 1.5 but the global setup itself is version 3.4).

At some point I guess that if I locate the setup.exe/setup.msi file I could browse it with reflexion, but it is not exactly the best solution. We store each setup per version on the server on a separate folder (ex. c:\Setups\Product 1.0\Setup.exe, c:\Setup\Product 1.5\Setup.exe, etc..)

Any suggestions ?

  • 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-05-16T21:10:41+00:00Added an answer on May 16, 2026 at 9:10 pm

    Define “global” setup version. Are you saying that each patch updates some but not all assemblies, and thus the version of any one assembly, or even any of the assemblies at all, may not reflect the last patch installed?

    3 options:

    • Keep the global version info in each config file and push out updates to every config of every installed component every time (not recommended).
    • Provide a shared config file, or references from other configs to a “main” config, that can be referenced from any of the executable projects, and make sure that config gets updated every time.
    • Maintain a registry key containing the global version for the software package.

    Of the three, I would pick the last, since the installation and patching is spread over several areas of the system, but every area SHOULD be able to read a software registry key (if not update it). The process is not difficult; you can reference the static System.Win32.Registry object to get base keys for LocalMachine, CurrentUser, etc. and from there you can traverse the tree by navigating through RegistryKey objects (or creating one from scratch with the key path). You can specify the key path with an AppSetting in the various web and app.config files; this shouldn’t change nearly as often as the value of the key itself.

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

Sidebar

Related Questions

Here is my dilemma, I am working on some SaaS using ASP.net MVC3 and
Briefly, here's the scenario. I have an ASP.NET application using forms authentication and a
I have an ASP.NET MVC3 project. I want to insert some <td> 's in
Here is the situation I have..I have to fetch all the associated cases for
Here's the situation: - I have <customErrors mode=On defaultRedirect=error.html /> in my web.config. I
I am starting a new project in Asp.net MVC 2. I have been mostly
Here is the situation: I have a class MainView (which is a UIViewController) and
Here is my situation: Situation: I have users, and I have multiple values in
Here's the situation: I have a public repository for my open-source app on github.com.
I'm having the strangest issue... I have a monorail website (a .NET solution, similar

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.