Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


unattended installing apps runonceex?

  • Please log in to reply
3 replies to this topic




  • Member
  • PipPip
  • 222 posts
  • Joined 28-April 09
looking at everything my best choice is probably RT 7 and windows toolkit for my knowledge level
basically looking at maybe removing a few minor things, installing hotfixes, and unattended, and then auto installing apps silently

can i install these apps via runonce... or with switches or do i need to make them into an addon file..

im only looking to integrate what i think are needed apps like codecs, ccleaner, teracopy etc and then setup the others as a runonceex.cmd... if i can ?

win7 seems alot harder than XP or is it just me...

i also have win xp mode how do i integrate that into the disc as its an exe file and the integration of updates only lists msu files with RT se7en...?

what virtual machine should i use to test my win7 64bit in...?

Edited by b-man, 01 July 2012 - 01:59 AM.

How to remove advertisement from MSFN



    MSFN Master

  • Developer
  • 2,878 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "RunOnceEx - Testing Applications" /f
REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f

REM	   Extract WindowsXPMode_en-us.exe" and run msiexec /i
REG ADD %KEY%\1001 /VE /D "Windows XP Mode" /f
REG ADD %KEY%\1001 /V 101 /D "CMD /C Start /Wait msiexec /I D:\APPS\MS_Windows_XP_Mode\xpminstl64.msi /qn /norestart" /f
REG ADD %KEY%\1001 /V 102 /D "CMD /C Start /Wait D:\APPS\MS_Windows_XP_Mode\Windows6.1-KB958559-x64-RefreshPkg.msu /quiet /norestart" /f
You will still have to start it and set it up. Mine is on another drive so it is easier to just point there cause it is setup. Just logon

yes XP was easier but this is nothing once you play with it awhile

Edited by maxXPsoft, 01 July 2012 - 07:56 PM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1




  • Member
  • PipPip
  • 222 posts
  • Joined 28-April 09
yeah i should point mine to the other drive but if i use the disc to do my laptop its useless and id like to reformat them as i seem to install a heap of stuff that i then dont use again and slows it down

just one thing where do i put the runonce file and what do i have to edit so windows runs it...?




  • Member
  • PipPip
  • 222 posts
  • Joined 28-April 09
still having trouble applying the runonce

i have put a file called setupcomplete.cmd in


setup complete.cmd
@echo off
start /wait %systemroot%\Bman\RunOnceEx.cmd

and calls my runonce file thats in %systemroot%\Bman\RunOnceEx.cmd
but its not working

when i try and run the runonce from inside the virtual machine once its all installed i get error access denied and after i turned uac of it works

the user i created in autounattended file is an admin

ok so more of an updated
once it puts the file into the registry i looked at it and its pointing to C:\ rather than the cd
how do i set the cd in runonce...?
i currently use (from my xp run once )


disabled UAC in my autounattended.xml and works fine now

Edited by b-man, 07 July 2012 - 08:14 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users