MSFN Forum: unattended installing apps runonceex? - MSFN Forum

Jump to content


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

unattended installing apps runonceex?

#1 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 217
  • Joined: 28-April 09

Posted 30 June 2012 - 06:33 PM

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...?

This post has been edited by b-man: 01 July 2012 - 01:59 AM



#2 User is online   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,750
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 July 2012 - 07:53 PM

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

This post has been edited by maxXPsoft: 01 July 2012 - 07:56 PM


#3 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 217
  • Joined: 28-April 09

Posted 02 July 2012 - 01:58 AM

thanks
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...?

#4 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 217
  • Joined: 28-April 09

Posted 06 July 2012 - 08:58 PM

still having trouble applying the runonce

i have put a file called setupcomplete.cmd in

W7CD\source\$OEM$\$$\Setup\Scripts

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



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 )
SET CDROM=%~d0




Solved

disabled UAC in my autounattended.xml and works fine now

This post has been edited by b-man: 07 July 2012 - 08:14 PM


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 - 2013 msfn.org
Privacy Policy