graysky Posted January 8, 2005 Posted January 8, 2005 How can I place some shortcuts on the "All Users" desktop on an unattended install? I have tried doing it by adding the files to \XPCD\$OEM$\$Docs\All Users\Desktop\<files>But that didn't work after the install. Windows endedup making a dir called "All Users.Windows" and used that for the installtion files.
Kelsenellenelvian Posted January 8, 2005 Posted January 8, 2005 Simple make a winrar sfx file of the shortcuts and after it is made open it with winrar and add this to the comments:;The comment below contains SFX script commandsPath=%Systemdrive%\Documents and Settings\%All Users%\DesktopSavePathSilent=1Overwrite=1Then just call the sfx file from guirunonce or where ever you are running your stuff.
Astalavista Posted January 8, 2005 Posted January 8, 2005 this is what i dousing winrari winrar SFX the linksi hv it autoextract to %allusersprofile%\desktop\Here is the code i use in Winrar;The comment below contains SFX script commandsPath=%allusersprofile%\desktop\SavePathSilent=1Overwrite=1
Astalavista Posted January 8, 2005 Posted January 8, 2005 Here is the rest if u want it.in order to get these commandsgo to run type cmd and type SETALLUSERSPROFILE=C:\Documents and Settings\All UsersAPPDATA=C:\Documents and Settings\Administrator\Application DataCLIENTNAME=ConsoleCommonProgramFiles=C:\Program Files\Common FilesCOMPUTERNAME=ALPHAMALEComSpec=C:\WINDOWS\system32\cmd.exeFP_NO_HOST_CHECK=NOHOMEDRIVE=C:HOMEPATH=\Documents and Settings\AdministratorLOGONSERVER=\\ALPHAMALENUMBER_OF_PROCESSORS=2OS=Windows_NTPath=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Executive Software\Diskeeper\;C:\Program Files\Common Files\Ulead Systems\MpegPATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSHPROCESSOR_ARCHITECTURE=x86PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 3, GenuineIntelPROCESSOR_LEVEL=15PROCESSOR_REVISION=0303ProgramFiles=C:\Program FilesPROMPT=$P$GSESSIONNAME=ConsoleSystemDrive=C:SystemRoot=C:\WINDOWSUSERNAME=AdministratorUSERPROFILE=C:\Documents and Settings\Administratorwindir=C:\WINDOWS
graysky Posted January 8, 2005 Author Posted January 8, 2005 Very cool idea. Thanks to kelsenellenelvian and Astalavista!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now