[windows2000] GPO execution order

  • From: "Sorin Srbu" <sorin.srbu@xxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Wed, 9 May 2007 08:58:21 +0200

Hi all,

Suppose I have a GPO that I deploy an msi-package with, and I also have a
startup-script in the same GPO. Which of them gets run first? The msi or the
script?

Reason for this question is that I'd like to remove the desktop-icon the msi
creates. So far no tweaking of the msi has helped, so I revert to a rather
crude method of running a conditional test in the startup-script to test for
if the programname.lnk exists in %allusersprofile%\Desktop-folder. If it does,
it deletes it quietly.

Obviously, if the script is run before the msi, there won't be a
desktop-shortcut to remove and therefore the icon won't be removed until the
next time the computer is rebooted. Thus the question of execution order.

TIA.

-- 
  
BW,

Sorin

# Sorin Srbu, Systems Engineer  Web: http://www.orgfarm.uu.se
# Dept of Medicinal Chemistry,  Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem,                Mobile: +46 (0)701-718023
# Box 574, Uppsala University,  Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden     Visit: BMC, Husargatan 3, D5:512b
#
# ()  ASCII ribbon campaign - Against html E-mail 
# /\
#
# Harmless tagline follows:
#
# "Share and enjoy!" -Sirius Cybernetics Corporation motto.

*****************************
New Site from The Kenzig Group!
Windows Vista Links, list options 
and info are available at:
http://www.VistaPop.com
***************************** 
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: