Jump to content

Recommended Posts

Posted

Thanks to nuhi at nLite I have enough room on one CD for several apps, including a shrunken OfficeXP (see Shrink Office).

My cmdlines.txt & install.cmd are in the $OEM$ folder, alongside the $1 folder.

What seems odd to me is that AIDA32, IrfanView, and PSPad install their shortcuts to the AllUsers profile, but 7Zip is installed to the Default User profile. Why the difference when they're all installed from the same cmd file at the same time?

Another question is why the shortcuts generated have the .lnk extension showing in the start menu?

Is the solution to delete the system generated shortcuts as at cleanup.cmd and make my own using shortcut.exe (Shortcut.exe)?

CMDLINES.TXT

[COMMANDS]
"REGEDIT /S regtweaks.reg"
"Install.cmd"

INSTALL.CMD

CLS
@ECHO off
ECHO.................................
ECHO.
ECHO Installing IrfanView Graphics Viewer
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\Irfanview\iview397.exe /silent /desktop=1 /group=1 /allusers=1 /VERYSILENT /SP-
ECHO..................................
ECHO.
ECHO Installing IrfanView Plugins
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\Irfanview\allplugins397.exe /silent
Echo..................................
Echo.
ECHO Installing 7-Zip Compression Utility
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\7zip\7z313.exe -y /q /r:n
Echo..................................
Echo.
ECHO Installing Acroreader 7 courtesy ryanVM at ryanvm.msfn.org
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\AcroReader7\Acroread701.exe
Echo..................................
Echo.
ECHO Installing Java Runtime Environment 5.03 courtesy ryanVM at ryanvm.msfn.org
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\JRE503\Jre503.exe
Echo..................................
Echo.
ECHO Installing PSPad Text Editor
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\PSPad\PSPad432.exe /verysilent /sp-
Echo..................................
Echo.
ECHO Installing AIDA32 Diagnostic Utility
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\AIDA32\AIDA32.exe /verysilent /sp-
Echo..................................
Echo.
ECHO Installing Office XP
ECHO Please wait...
start /wait %systemdrive%\Install\Apps\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-


Posted

Epitaph:

Sometimes I hate it when a computer does exactly what I tell it to......the .lnk behavior was from a regtweak I'd added.

Still leaves the odd (to me) behavior of the allusers vs default user question. <Shrugs> Oh well it's working in any event.

  • 1 month later...
Posted

No one is logged on at cmdlines.txt. Shortcuts for all users profile, go to all users profile. Shortcuts for user profile, go to default user profile.

Same happens with reg entries. current user entries, go to default user entries, in cmdlines.txt.

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.
×
×
  • Create New...