b-man

unattended installing apps runonceex?

4 posts in this topic

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
0

Share this post


Link to post
Share on other sites

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
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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

Edited by b-man
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.