DarkShadows

SSIBuild (Sysinternals Suite Installer Builder)

35 posts in this topic

I recently found out that the Sysinternals Suite Installer so created would delete the entries in the HKLM\...\RunOnce key.

I noticed it when I used it with other addons in HFSLIP or nLite to make XP.

The Sysinternals Installer was run in SVCPACK stage.

And when it was run AFTER other addons that add entries in HKLM\..\RunOnce key, then these addon would not work in next reboot!!

When it was run before other addons , the other addons worked OK.

I have tested it in the virtual XP. Immediately after the Sysinternals Installer run , the entries in HKLM\..\RunOnce was gone!

I have extracted the SysPath script inside the installer and test it .

It had no effect on the HKLM\..\RunOnce key !!!!

0

Share this post


Link to post
Share on other sites

The Sysinternals Suite Installer installer built by my scripts does not delete any registry settings under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce.

Those registry values get automatically deleted by the Windows operating system after they have been run once, thus the name of this registry key. You add a registry value there for an application that needs to be run only a single time, and after that application is run, Windows removes the registry value by-design.

Edited by DarkShadows
0

Share this post


Link to post
Share on other sites

I finally understand the mechanism behind this:

The keys in HKLM\..\RunOnce are actually not deleted BUT actually already run.

The commands in the RunOnce key are being run DURING inf setup.

Only that the commands are run in SVCPACK stage and hence have no effect.

0

Share this post


Link to post
Share on other sites

SSIBuild (Sysinternals Suite Installer Builder)

Version: 2.7

Last Update: 05:00 PM 11/10/2009 (GMT-5 +1 during DST)

Copyright © 2009 Kenneth R. Alcock, all rights reserved.

 

  • Supports Windows 2000/XP/2003/Vista/2008/7 (32-bit versions only).

    NOTE: I have only tested the installer on Windows XP and Vista. However, this should also work on Windows 7.

 

Any plans to Support Windows 7 and 8.1, 64-bit?

 

Thanks,

Stephen

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.