Active setup registry path




















On the plus side, a failure won't just keep running forever ; - bkelly 8 years ago. One thing that helps me prevent the error checking issue is that I only use Active Setup as part of an MSI, and I only incorporate it by importing a REG key which performs a repair and leverages the package properties.

I would like to add a few nuggets of information about Active Setup that I have encountered over the years. First of all, if Active Setup runs and the code stalls, it will hang the machine, so it should always be written with error trapping that will avoid a hang under all circumstances.

I have seen many instances where an MSI operation gets started during bootup eg an update or a self healing operation , and the MSI called by active setup therefore errors out because you cannot run two MSIs concurrently, but HKCU is still updated.

Thus the active setup never gets run. On a 64 bit system, you can use both 32 bit active setup and 64 bit active setup, and if I recall correctly, the 32 bit entries get run first. Excellent tips EdT, thank you! One final thing I forgot to add. The version field delimiter needs to be a comma. There is no problem if you use integer values for the version field, eg 1 or 2, but if you want to put in a version equivalent to the product version, eg 3.

Posted by:. Don't be a Stranger! Sign up! Blog View More Blogs from bkelly. Bob Kelly Says Hello! A Close Look at RayPack 1. Post Related Posts. At some point, the user who originally ran the setup will log off and then log into the computer again.

The solution in this case is to use the setup to write some additional registry data to the HKCU key. The key and values are shown graphically in Figure 3 and the text of the values is shown below. Note that this data does not include a StubPath value. After installing the program, the user who installed it will be able to log off of and back onto Windows without seeing a progress dialog from Windows Installer.

Any other users will see the Windows Installer progress window, show in Figure 4, the next time they log into Windows as the setup writes missing data to their profile. Figure 4: The Windows Installer. One issue that system administrators frequently encounter with Active Setup is ensuring that Windows Installer can locate the source media to complete the repair invoked by Active Setup.

One solution would be to write a custom action to default version to 1,0,0 on first install and during subsequent reinstalls increment it. How does solar energy? The suns energy as heat and light is abundantly available to everyone on earth, even in p….

Your email address will not be published. Building your software packages is step one. Distributing them is step two. Viewed times. Alex Alex 11 2 2 bronze badges. Add a comment. Active Oldest Votes. Short answer: Insufficient privileges. Major Malfunction Major Malfunction 1 1 silver badge 7 7 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.



0コメント

  • 1000 / 1000