MSFN Forum: RunOnceEX problem - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

RunOnceEX problem not sure if my ending commands are right Rate Topic: -----

#1 User is offline   JustinJAH 

  • Group: Members
  • Posts: 4
  • Joined: 28-August 05

Posted 28 April 2006 - 10:40 PM

TweakUI installed fine but none of the others. I couldnt remember the command to make it delet the install files once its completed as well any help would be great thanks



cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Adobe Creative Suite 2" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Adobe Creative Suite 2.exe /f

REG ADD %KEY%\010 /VE /D "Macromedia Dreamweaver 8" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Macromedia Dreamweaver 8.exe /f

REG ADD %KEY%\020 /VE /D "ZoneAlarm Security Suite" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\ZoneAlarm Security Suite.exe /f

REG ADD %KEY%\025 /VE /D ".NET Framework 2" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\dotnetfx.exe /f

REG ADD %KEY%\030 /VE /D "Sun Java 1.5.6" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Java_1_5_0_06.exe /f

REG ADD %KEY%\035 /VE /D "TweakUI Powertoy" /f
REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\TweakUiPowertoySetup.exe /f

EXIT


#2 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 29 April 2006 - 02:26 AM

you're missing the final quotes on every command.
should be like this:

REG ADD %KEY%\001 /VE /D "Microsoft .NET Framework 1.1 SP1" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\netfx11sp1\netfx.msi /qn" /f

REG ADD %KEY%\002 /VE /D "Microsoft .NET Framework 2.0" /f
REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\netfx20\install.exe /q" /f

REG ADD %KEY%\003 /VE /D "Microsoft DirectX 9.0c Abr 2006" /f
REG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\directx\dxsetup.exe /silent" /f

REG ADD %KEY%\004 /VE /D "Microsoft IntelliPoint 5.5" /f
REG ADD %KEY%\004 /V 1 /D "%cdrom%\Programas\intellipoint\ip55.msi mm=14 /qn REBOOT=ReallySuppress" /f


for cleaning and deleting add this at the final lines of your scrip just before EXIT:

REG ADD %KEY%\200 /VE /D "Cleaning & Rebooting" /f
REG ADD %KEY%\200 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f


cleanup.cmd file can contain any commands you want to run. i strongly recommend you to read the whole unattended guide to get this kind of things to work.

#3 User is offline   JustinJAH 

  • Group: Members
  • Posts: 4
  • Joined: 28-August 05

Posted 01 May 2006 - 01:30 AM

ok i figured out what i was doing wrong. is there anyone to have two exe's open at once, or even to say have a notpad open up. the first exe that i want to open isnt a installer just a program and the second one is a actual installed but i havent found a way to have them both open up any ideas?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy