INFORMATION REQUEST Install workaround
#1
Posted 26 June 2005 - 08:24 AM
I could not find a way when you silent install all the games (247 of them) i want on my WPI, i find myself loaded with shortcuts on my desktop, which i do not want. Also is there a way to group them in the start/Programs/Games/Action; Card; Strategy; Puzzle. and silently install each game to its particular genre?
Any help is always appreciated.
lionhrt
#2
Posted 26 June 2005 - 08:41 AM
to remove all the shortcuts on your desktop
you will need to use a move command function to organize your games to specific categories.
here is a sample
move "%allusersprofile%\Start Menu\Programs\Object%Desktop\" "%allusersprofile%\Start Menu\Programs\IconPackager" rmdir /S /Q "%allusersprofile%\Start Menu\Programs\Object%Desktop\"
#4
Posted 26 June 2005 - 11:21 AM
DEL "%userprofile%\Desktop\*.lnk" DEL "%allusersprofile%\Desktop\*.lnk"
This post has been edited by glent: 26 June 2005 - 11:22 AM
#5
Posted 07 July 2005 - 01:29 PM
Quote
in the pic below is a lil more understanding of what i am trying to achieve:
so surrounding the red box are the games that i would like to move over to the start\programs\games subfolder. If there is a way to catagorizes folders within the games subsection that would be even better.
here is a sample of my config.js file and would like to know if there is a way to force the installer to install the games i have in that fashion.
prog[pn]=['5 Card Slingo'] uid[pn]=['5CARDSLINGO'] desc[pn]=['<img src="./graphics/5slingo.jpg" width="257" height="192"><br>Are you ready to play 12 hands of poker at once!? 5 Card Slingo is the exciting game that combines the fast paced fun of Slingo with strategic poker playing action. It features 3 modes of game play, including the brand new Mixed Matrix mode. It also saves your best hand in each mode, keeps track of your top scores and has a top ten list to highlight all the big winners. Do you have what it takes to be one of them? Play 5 Card Slingo Today and get lucky!'] ordr[pn]=[3] cmd1[pn]=['%cdrom%\\Install\\Games\\5CardSlingoSetup.exe /silent'] rega[pn]=['%cdrom%\\Install\\RegFiles\\5cardslingo.reg'] pn++
Any help would be appreciated.
EDIT: I have never done a cleanup.cmd so have no idea exactly how or way to direct the command to run.
move "%allusersprofile%\Start Menu\Programs\Object%Desktop\" "%allusersprofile%\Start Menu\Programs\IconPackager" rmdir /S /Q "%allusersprofile%\Start Menu\Programs\Object%Desktop\"
Attached File(s)
-
lion.gif (11.09K)
Number of downloads: 0
This post has been edited by lionhrt: 07 July 2005 - 02:16 PM
#6
Posted 07 July 2005 - 02:45 PM
me i like to go into
$OEM$\$Docs\All Users\Start Menu\Programs
and make all my subfolders and so forth
then after each program that i instal through wpi, i like to make a seperate cleanup file that routes the short cut the way i want it and delete its old path and also delete the desktop short cut if there is one an example is this
Quote
XCOPY /Q "%USERPROFILE%\Start Menu\Programs\xp-AntiSpy.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\Security"
ECHO.
ECHO Deleting Shortcuts...
RD /S /Q "%USERPROFILE%\Start Menu\Programs\xp-AntiSpy.lnk"
RD /S /Q "%USERPROFILE%\Start Menu\Programs\Uninstall.lnk"
RD /S /Q "%USERPROFILE%\Start Menu\Programs\Website.lnk"
ECHO.
EXIT.
Quote
DEL "%allusersprofile%\Desktop\*.lnk"
i like to make my batch cmmand called move.cmd and place it in the same folder as the program and call it after each prog has installed
example
Quote
uid[pn]=['5CARDSLINGO']
desc[pn]=['<img src="./graphics/5slingo.jpg" width="257" height="192"><br>Are you ready to play 12 hands of poker at once!? 5 Card Slingo is the exciting game that combines the fast paced fun of Slingo with strategic poker playing action. It features 3 modes of game play, including the brand new Mixed Matrix mode. It also saves your best hand in each mode, keeps track of your top scores and has a top ten list to highlight all the big winners. Do you have what it takes to be one of them? Play 5 Card Slingo Today and get lucky!']
ordr[pn]=[3]
cmd1[pn]=['%cdrom%\\Install\\Games\\5CardSlingoSetup.exe /silent']
cmd2[pn]=['%cdrom%\\Install\\Games\\move.cmd'] <--------------------
rega[pn]=['%cdrom%\\Install\\RegFiles\\5cardslingo.reg']
pn++
thats just the way i do it, i like to make a seperate move.cmd file for every program in wpi mainly because some times i may not want to instal everything, thats why everything in seperate,, if you place everything in the same move.cmd file and you decid not to install everything then you will get a nasty looking menu layout with X's where the file that you moved never was
hope that helps you out.
like i said theres a few ways to go about this and thats how i do it,
This post has been edited by Lost Soul: 07 July 2005 - 02:45 PM
#7
Posted 07 July 2005 - 03:17 PM
Running under XP file is located in
"C:\Program Files\Add Em Up\addemup.exe" and would like to move it to a folder called
"C:\Program Files\Puzzle Games\Add Em Up\addemup.exe"
So if i need to doo these individually as suggested because you sometimes do not install all said games/programs.
so for each game i would make a move.cmd and place it in the programs folder or a folder where wpi will call it up.
I will probably name the move.cmd to a name of the respective game. e.g addemup.cmd so that i can place them all in the same folder as i did with all my game exe's
can you give me an example of how the move.cmd would look like if i wanted to do "C:\Program Files\Puzzle Games\Add Em Up\addemup.exe"
cmd2[pn]=['%cdrom%\\Install\\Command\\addemup.cmd']
Sorry for the bad english "I'm Canadian"
if you were to make a move command for the said game above and move it to Programs/games/card games how would you write ir so that I can make a template outta it for all the other 274 games listed on this dvd.
btw my wpi is separate from my unattended xp. so i do not have it setup as $OEM$\$Docs\All Users\Start Menu\Programs
Thanks for any help , as you have already done in past.
#8
Posted 07 July 2005 - 03:41 PM
so your right on that
Quote
Sorry for the bad english "I'm Canadian"
and no worries on the english lol hell look at alot of my posts i rarely ever correct my fast typing errors lol
#9
Posted 07 July 2005 - 03:48 PM
Quote
Thanks for any help , as you have already done in past.
heres an example
Quote
XCOPY "%USERPROFILE%\Start Menu\Programs\Winamp\Winamp.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\Audio Players" /Y /I /Q
ECHO.
ECHO Deleting Shortcuts...
RD /S /Q "%USERPROFILE%\Start Menu\Programs\Winamp"
ECHO.
EXIT.
Quote
well depending wether the shortcut was placed in your main user or All Users
youd simply
use the %USERPROFILE% if its in the main user,, and use the %ALLUSERSPROFILE% variable if its installed a shortcut to the all users folder
there ya go m8 good luck i hope that helps
This post has been edited by Lost Soul: 07 July 2005 - 04:02 PM
#10
Posted 07 July 2005 - 10:40 PM
ECHO Moving Game Folder... move "%allusersprofile%\Start Menu\Programs\Add%Em%Up\" "%allusersprofile%\Start Menu\Programs\Games\Puzzle%Games\Add%Em%Up" /Y /I /Q ECHO. ECHO Deleting Game Folder... RD /S /Q "%usersprofile%\Start Menu\Programs\Add%Em%Up" ECHO. EXIT.
and then direct wpi to load after game is installed using:
cmd2[pn]=['%cdrom%\\Install\\cmdfiles\\addemup.cmd']
if this is wrong sorry , just finding myself lost. Would be easier if you could just install games to specific locations as you could if you were to install without it being silent.
e.g:
Install to c:\programs\games\puzzle_games\Addemup
Edit: Now that I think of it is there a different way in which to do same for win98se.
As I had to change all my reg files to read as regedit4 since they were done in xp and would not work under windows 98...
This post has been edited by lionhrt: 07 July 2005 - 11:00 PM
#11
Posted 08 July 2005 - 06:56 AM
lionhrt, on Jul 8 2005, 12:40 AM, said:
ECHO Moving Game Folder... move "%allusersprofile%\Start Menu\Programs\Add%Em%Up\" "%allusersprofile%\Start Menu\Programs\Games\Puzzle%Games\Add%Em%Up" /Y /I /Q ECHO. ECHO Deleting Game Folder... RD /S /Q "%usersprofile%\Start Menu\Programs\Add%Em%Up" ECHO. EXIT.
and then direct wpi to load after game is installed using:
cmd2[pn]=['%cdrom%\\Install\\cmdfiles\\addemup.cmd']
if this is wrong sorry , just finding myself lost. Would be easier if you could just install games to specific locations as you could if you were to install without it being silent.
this is right but as for the % that your using as a place holder between the words Add%Em%Up and so forth thats not really needed
Quote
As I had to change all my reg files to read as regedit4 since they were done in xp and would not work under windows 98...
sorry i dont know the answer to that one perhaps some one else can answer that because im not very sure for 98



Help

Back to top








