Scripting Question

Alternative to active setup ?

02/22/2015 4232 views
How can reflect the user specific changes without using activesetup as i require to show changes without logoff/on at target system?
Is it possible to reflect those changes without logging off/on? if yes, how?
Please suggest any solution for that.
1 Comment   [ + ] Show comment


  • reflect user changes, what do you mean??? Changes that user makes after the MSI is installed, or are you asking how to get the user settings from the MSI into the users profile???

Community Chosen Answer

If you're deploying MSIs and they contain at least one advertised entry-point (e.g. an advertised shortcut), use self-healing. Google for John McFadyen's excellent article on the subject.
Answered 02/23/2015 by: VBScab
Red Belt

  • my application contain only web url shortcuts and no advertised shortcut..
    will check the John McFadyen's excellent article...
  • can i make web url shortcut to advertised..?
    • You *could*...if you wanted a God almighty kludge!

      If it's really too much trouble for your users to log off/on in order to make their software work properly, then you have an education issue. Is it time to introduce VBScab's patented "The Packager's Baseball Bat Of Explanation"?
      • yes...this is the time :P
        sorry..but i have been given this situation to R&D with..
        btw..thanks for your solution for advertised shortcut...!!!

All Answers

You don't technically have to logout and login to run active setup - just stopping and restarting the explorer service will cause active setup to run.  However, as VBScab indicates, using self healing from an advertised entry point is an alternative solution.
It is also technically possible to create your own advertised entry point but if you have to ask how to do that, you are not ready to implement it....;-)
Answered 02/23/2015 by: EdT
Red Belt

  • Thanks for the solution...but i can't expect enduser to perform stopping and starting explorer.exe..
    • <sigh> You can do it easily in code. You can also create shortcuts in code and deploy to the USER when they are logged in, rather than wasting a lot of time creating a package.
I assume that you're writing to some HKCU registry, or placing some user profile files.
If you can't have active setup, and advertised shortcuts are not suitable - how about a script instead?

It's not the nicest way to do it, but your shortcut could point to a script that writes the registry/files and then launches the URL afterwards.
Be sure to include error checking in your script and checking that the items already exist - otherwise they'll be re-written on every launch.

Answered 02/24/2015 by: dunnpy
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ