lionhrt Posted June 26, 2005 Share Posted June 26, 2005 Now that I understand enough to get my WPI the way I want it. After searching the forum: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 Link to comment Share on other sites More sharing options...
Astalavista Posted June 26, 2005 Share Posted June 26, 2005 you must create a cleanup.cmdto remove all the shortcuts on your desktopyou will need to use a move command function to organize your games to specific categories.here is a samplemove "%allusersprofile%\Start Menu\Programs\Object%Desktop\" "%allusersprofile%\Start Menu\Programs\IconPackager"rmdir /S /Q "%allusersprofile%\Start Menu\Programs\Object%Desktop\" Link to comment Share on other sites More sharing options...
lionhrt Posted June 26, 2005 Author Share Posted June 26, 2005 Thanks Astalavista for your help, much appreciated Link to comment Share on other sites More sharing options...
glent Posted June 26, 2005 Share Posted June 26, 2005 (edited) to remove shortcuts from the desktop i use this DEL "%userprofile%\Desktop\*.lnk"DEL "%allusersprofile%\Desktop\*.lnk" Edited June 26, 2005 by glent Link to comment Share on other sites More sharing options...
lionhrt Posted July 7, 2005 Author Share Posted July 7, 2005 (edited) 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?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\" Edited July 7, 2005 by lionhrt Link to comment Share on other sites More sharing options...
Lost Soul Posted July 7, 2005 Share Posted July 7, 2005 (edited) yes you can set the start menu / all programs up the way you want it in catagories if you like,, there are a few ways to go about thisme i like to go into$OEM$\$Docs\All Users\Start Menu\Programsand make all my subfolders and so forththen 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 ECHO Moving ShortCuts...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.you can also use this to delete the desktop shortcut it makes DEL "%userprofile%\Desktop\*.lnk"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 exampleprog[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']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 washope that helps you out.like i said theres a few ways to go about this and thats how i do it, Edited July 7, 2005 by Lost Soul Link to comment Share on other sites More sharing options...
lionhrt Posted July 7, 2005 Author Share Posted July 7, 2005 Here is for example one game that i want.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'scan 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\ProgramsThanks for any help , as you have already done in past. Link to comment Share on other sites More sharing options...
Lost Soul Posted July 7, 2005 Share Posted July 7, 2005 ahh ok i gotcha well in that case you could just place the move script in the same folder as your game that your trying to install and call to it after each game installsso your right on that cmd2[pn]=['%cdrom%\\Install\\Command\\addemup.cmd']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 Link to comment Share on other sites More sharing options...
Lost Soul Posted July 7, 2005 Share Posted July 7, 2005 (edited) btw my wpi is separate from my unattended xp. so i do not have it setup as $OEM$\$Docs\All Users\Start Menu\ProgramsThanks for any help , as you have already done in past.sorry for another post i just realised i never answered your last question so this is what you could do by adding the /Y /I /Q at the end it will create the folder for you silently with out questions askedheres an exampleECHO Moving ShortCuts...XCOPY "%USERPROFILE%\Start Menu\Programs\Winamp\Winamp.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\Audio Players" /Y /I /QECHO.ECHO Deleting Shortcuts...RD /S /Q "%USERPROFILE%\Start Menu\Programs\Winamp"ECHO.EXIT.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"well depending wether the shortcut was placed in your main user or All Usersyoud simplyuse the %USERPROFILE% if its in the main user,, and use the %ALLUSERSPROFILE% variable if its installed a shortcut to the all users folderthere ya go m8 good luck i hope that helps Edited July 7, 2005 by Lost Soul Link to comment Share on other sites More sharing options...
lionhrt Posted July 8, 2005 Author Share Posted July 8, 2005 (edited) So your saying for moving folders into specific groups I would create a cmd file as such?ECHO Moving Game Folder...move "%allusersprofile%\Start Menu\Programs\Add%Em%Up\" "%allusersprofile%\Start Menu\Programs\Games\Puzzle%Games\Add%Em%Up" /Y /I /QECHO.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\AddemupEdit: 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... Edited July 8, 2005 by lionhrt Link to comment Share on other sites More sharing options...
Lost Soul Posted July 8, 2005 Share Posted July 8, 2005 So your saying for moving folders into specific groups I would create a cmd file as such?ECHO Moving Game Folder...move "%allusersprofile%\Start Menu\Programs\Add%Em%Up\" "%allusersprofile%\Start Menu\Programs\Games\Puzzle%Games\Add%Em%Up" /Y /I /QECHO.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 neededEdit: 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...sorry i dont know the answer to that one perhaps some one else can answer that because im not very sure for 98 Link to comment Share on other sites More sharing options...
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