Nuno Brito Posted March 13, 2008 Share Posted March 13, 2008 (edited) addons2wpiThis tool will allow you to batch convert your addons and easily use WPI instead of nLite to install them along with Windows. It was meant for unattended use and you only need to mention the folder where the nLite addons are placed and the folder where WPI is located when launching the tool from the command prompt or a script.addons2wpi is freeware and everyone is welcome to use and share as needed.More features will surely be added upon request.Usage:addons2wpi.exe AddonFolder WPIfolder AddonFolder is where you have all your addons WPI folder is where WPI.hta is placedSome notes:It will look specifically for CAB/7Zip/RAR/ZIP files inside the addons folder and respective subfolders.All entries are placed inside the WPIScripts folder and will overwrite config.js with the new entries - please backup this file if you wish to keep your customized settings. My experience with nLite and WPI is still very recent, if something needs to be corrected please mention any details that need attention and I will work to solve them.One tip when using the command line parameters: If your path contains any spaces like for example: My Documents - you need to use "" as this format: "My Documents" so that windows can properly recognize these spaces in the path name.Thank you!! Translation of this page on other languages:Arab: http://www.damasgate.com/vb/t104522.htmlAlbanian: http://nunobrito.eu/temp/Addons2wpi(albanian).zip (Thank you benxhi) Edited July 20, 2008 by Nuno Brito Link to comment Share on other sites More sharing options...
zorphnog Posted March 13, 2008 Share Posted March 13, 2008 Great initiative Nuno! Personally, I don't use nLite but this will be a great tool for those users who do. Although I believe there may be a problem with the release. I was trying it out just to see what exactly it did and it imports the config data just fine, but the executables are not extracted to the WPI install folder. Link to comment Share on other sites More sharing options...
Nuno Brito Posted March 13, 2008 Author Share Posted March 13, 2008 Will you help debugging this annoyance? What are the paths you used for running the tool?Could you also list the addons that were processed?If the config.js is generated correctly then the "%wpipath%\Install" folder should also be populated with the respective executables.--Thank you for testing!! Link to comment Share on other sites More sharing options...
benxhi Posted March 13, 2008 Share Posted March 13, 2008 Just Tested it . Works like a charm for me ! Link to comment Share on other sites More sharing options...
benxhi Posted March 13, 2008 Share Posted March 13, 2008 (edited) Now going to process all the apps you put in UXP!Edit: i'll put some of my personaly made cabs to check does it work ! Edited March 13, 2008 by benxhi Link to comment Share on other sites More sharing options...
benxhi Posted March 13, 2008 Share Posted March 13, 2008 No mistakes! I used Simple Paths for addons i used C:/Addons and for wpi i used C:/WPIit works good just wanted to add a request what do you think about adding support to converting 7z ,rar and zip files too ? Link to comment Share on other sites More sharing options...
zorphnog Posted March 13, 2008 Share Posted March 13, 2008 Ok. As i said i don't use nLite so i just downloaded a few addons to mess around with. They are:Java2PuTTyRivaTuner-208SdNTweaker-0901addons2wpi.exe is located on my desktop. Here are the commands I've tried:C:\Users\mmims\Desktop>addons2wpi.exe Addon "\Users\mmims\All WPI's\WPI63"C:\Users\mmims\Desktop>addons2wpi.exe .\Addon "C:\Users\mmims\All WPI's\WPI63"C:\Users\mmims\Desktop>addons2wpi.exe C:\Users\mmims\Desktop\Addon "C:\Users\mmims\All WPI's\WPI63"In each case, the config.js file is populated correctly. Nada in the install folder. Oh yeah, I'm using 32-bit Vista Ultimate. Link to comment Share on other sites More sharing options...
benxhi Posted March 13, 2008 Share Posted March 13, 2008 Whats in your WPI63 folder ? Is WPI folder in ther if so correct your path to it! Link to comment Share on other sites More sharing options...
Nuno Brito Posted March 13, 2008 Author Share Posted March 13, 2008 (edited) I think I've found the bug - I'm using delphi and "All WPI's" causes a line break because of the 'If you try with "All WPIs" it should work (hopefully).Will test on my machine and likely update afterwards. Edited March 13, 2008 by Nuno Brito Link to comment Share on other sites More sharing options...
Nuno Brito Posted March 14, 2008 Author Share Posted March 14, 2008 zorphnog, please re-test as it should be corrected now. Link to comment Share on other sites More sharing options...
Nuno Brito Posted March 14, 2008 Author Share Posted March 14, 2008 No mistakes! I used Simple Paths for addons i used C:/Addons and for wpi i used C:/WPIit works good just wanted to add a request what do you think about adding support to converting 7z ,rar and zip files too ?Somehow missed reading your request.I can use the 7zip command line version to add support for all other archive formats and whenever 7z.exe is available on the same folder as addons2wpi then it use this extract tool as default for all supported extensions.http://www.7-zip.org/But one question: addons in other compressed formats still have the exact same structure as cab ones? Link to comment Share on other sites More sharing options...
jtdoom Posted March 14, 2008 Share Posted March 14, 2008 HiC:/Addons and for wpi i used C:/WPIShould you not use backslashes?I know this is a common mistake made by web devs. Link to comment Share on other sites More sharing options...
benxhi Posted March 14, 2008 Share Posted March 14, 2008 No mistakes! I used Simple Paths for addons i used C:/Addons and for wpi i used C:/WPIit works good just wanted to add a request what do you think about adding support to converting 7z ,rar and zip files too ?Somehow missed reading your request.I can use the 7zip command line version to add support for all other archive formats and whenever 7z.exe is available on the same folder as addons2wpi then it use this extract tool as default for all supported extensions.http://www.7-zip.org/But one question: addons in other compressed formats still have the exact same structure as cab ones?Yes they are i'm gonna give you a link of a 7zip addon now http://www.sokoolz.com/addons/r64/PatchedL...1107_Builder.7zfrom http://www.wincert.net/forum/index.php?sho...p;mode=threaded Link to comment Share on other sites More sharing options...
benxhi Posted March 14, 2008 Share Posted March 14, 2008 And .rar format :http://www.sokoolz.com/addons/r64/Ricks_VM...59824_AddOn.rarfrom:http://www.wincert.net/forum/index.php?showtopic=428is it allright now ? Link to comment Share on other sites More sharing options...
Nuno Brito Posted March 14, 2008 Author Share Posted March 14, 2008 (edited) Hi jtdoom! Thank you benxhi, will download right away and check them out. -------edit: The file structure is identical, will start adding 7z and rar support! Edited March 14, 2008 by Nuno Brito 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