Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


893 posts

Ultimate Geek
+1 received by user: 32


Topic # 27000 9-Oct-2008 20:06
Send private message

Hi All

I am back in NZ after traveling around europe for the last 18 months and I have rebuilt my training pc which I am trying to build an automated install of XP with the apps (adobe reader, office, flash player, virus scanner, etc).
I have the apps ready to be installed manually with thir MSI's configured so they are hands free installs but I need a script that will go through and run them one by one.

I have used a script before to build citrix servers but that was around 3 years ago and can't remember what the type of script was.

What I can remember about the script's format is below.

add regentry script.bat

:AdobeFP
If adobe.flg exists proceed to office

if adobe.flg does not exist run d:\adobe.msi -s

Copy flag.flg to c:\flagfiles\adobe.flg

:office
if office.flg exists proceed to viruscan

if office.flg does not exist run d:\office.bat

copy flag.flg to c:\flagfiles\office.flg

reboot.

del regeentry script.bat


The script would just restart if the pc/server was rebooted as it is run from the HKLM\microsoft\windows\currentversion\run until it was deleted at the end of the script and the administrator account is set to login automatically until a registry change at the end of the script.

Kix scripting comes to mind but I can't be certin if that is correct as I could not find how to make the flag files

Any help would be appreciated


Regards

Dion


Create new topic


893 posts

Ultimate Geek
+1 received by user: 32


Reply # 170939 13-Oct-2008 20:13
Send private message

I managed to get the info I was after it was simple DOS commands so goes to show how much I know about scripting.

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.