pistolpete_1980 Posted December 20, 2007 Posted December 20, 2007 Hi,First i want to say this program will be awesome once i figure it out!is very frustrating trying to figure this out... Here are a bunch of issues that i have being a newb.I want to point out that the small tutorial included in the manual is great! .. in theory!.. It works for the one program "ccleaner" and maybe a few other aps that are simplistic. Now, I used many pre configured addons that i downloaded from winaddons.com, and they work great when slipstreamed into the instal cd using nlite. So my question is how do i use my existing addons and make them ussable in WPI? I understand that there are 3 types. .js, .ini(so confusing what each of these are). The addons already have all the prefixes included in those .ini files, how can i somehow import those so they work with this program?Also I see that there is a link on the download page of WPI, that shows a sample script... but doesnt tell me anything else? What do i do with this script? From looking at the script i can figure out that js files are somehow relevant... can i import js files somewhere when i download those types of addons?.. i dunnoCan someone please help make this a little more clear for me? I consider myself a fairly quick learner, and quite adaptable, but in this case i find that resources to learn are scarce...
Kelsenellenelvian Posted December 20, 2007 Posted December 20, 2007 Simply open those addons and look in the .ini file under the addprogram section. If you see just the apps name then you have a silent installer and it needs no switches you just throw it in your install folder and call it from commandline1 without any switches. If the app in the ini has switches after it then you add those switches to the commandline after the programs name.For a looooong time WPI never had any documentation. I have done my best to include what I can but you'll have to use this forum and the applications installs section for the harder apps. USSF can take care of most of the simple apps. If I was to write a guide for all the different crud out there it would be much larger than the size of WPI itself. So you'll have to rely on the forum.Config.js is the script that holds all of the info that is created from the config page. For all intensive purposes you really don't need to worry about editing the .js files. There is a rather lengthy sample script on the WPI site and you can find more instances of programs there.It really is this simple you only actually need 2 entries for an app!so this ini =;############################################################;#### VMware Tools ~ SVCPACK Add-On by Kelsenellenelvian ####;#### Special thanks to Ricktendo64 ####;############################################################[general]BuildDate = 2007/09/24Description = VMware 6 Tools + Drivers silent installation addonLanguage = EnglishTitle = VMware 6 ToolsVersion = 6.0.1-55017Website = http://www.vmware.com/[EditFile]I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram[AddProgram]VM6Tools.exeWould tranlate to this:
pistolpete_1980 Posted December 20, 2007 Author Posted December 20, 2007 Kelsenellenelvian,Thanks for the reply! however i am still a little confused. as to what i need to do with the js file and the ini file? This i show far i've gotten..1) put the executable into the instal directory2) configure the instal in the config menu of wpi, to instal silently with the /S switch3)at this point i wish to instal anothe program like daemon tools or vmware which requires more switches and perameters, from what i've gathered from your post. i can use existing .ini files and .js files that are already pre configured..But how do i use these files? where do i put the .ini file or the .js file? my question is . how do i utilize these files?
Kelsenellenelvian Posted December 20, 2007 Posted December 20, 2007 You don't just add those file you have to manually add the info in the config section. You simply read them and add the info in the config interface. When done with one you click the little button at the top that says add and configure another one.
pistolpete_1980 Posted December 20, 2007 Author Posted December 20, 2007 I know how to add multiple programs... and execute the exe file with a silent installer thats not a problem!But like i said these things have been pre configured , so it would be redundant for me to try and figure out the switches or even create an autoit script, since they are already done somehow in the .ini file.... Maybe you can break down where i need to put the infomation from the ini, or js file. for example. If i open up the daemon tools .ini file this is what i see.[general]builddate=08.21.2007description=Emulation Programlanguage=Englishtitle=DAEMON Tools (x86/32-bit)version=4.10 (with SPTD 1.50)website=http://www.daemon-tools.cc[EditFile]SVCPACK.INF,SetupHotfixesToRun,AddProgram[GuiRunOnce]%windir%\daemon\hidec.exe /w %windir%\daemon\dt410_spdt150_x86.bat[AddProgram]dt410_spdt150_x86.exe[registry_addreg]HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dtools","DisplayName",0,"Daemon Tools v4.10"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dtools","UninstallString",0,"%ProgramFiles%\DAEMON Tools\uninst.exe"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dtools","InstallLocation",0,"%ProgramFiles%\DAEMON Tools"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\dtools","DisplayIcon",0,"%ProgramFiles%\DAEMON Tools\DAEMON.EXE"I'm guessing the "guirunonce" is the key to installing the program but i do not believe i can just paste that line in the command box and pray it works?As for a .js file if i open one up i see thisprog[pn]=['7-Zip 4.57'];desc[pn]=['7-Zip is a open source file archiver with high compression ratio.'];uid[pn]=['7Zip457'];dflt[pn]=['yes'];cat[pn]=['Utilities'];forc[pn]=['no'];configs[pn]=['yes'];gcond[pn]=['FileExists(\'%programfiles%\')'];cmd1[pn]=['%wpipath%\\Install\\7z457.exe /S'];pn++;I dont know where to paste this info?Sorry i am very confused, and i cant find anything to read for help! otherwise i would have read before asking you
Kelsenellenelvian Posted December 20, 2007 Posted December 20, 2007 OK I see where you are getting the .js file from that is an integrator addon. Download the RVMIntegrator and use it. http://www.ryanvm.net/forum/viewforum.php?f=20Optionally you can copy that section and directly add it into the Config.js...Open the integrator and select "Plugins" > "Download > Windows Post-Install Wizard" after you get confirmation of it being downloaded reselect "Plugins" > "Enable > Windows Post-Install Wizard" Choose whether you want to have the WPIAddons installed via SVCPACK or RunOnceEx.. or None if you just want them for manual install. Now when you go to do an integration all of the wpi files will be copied to the destination as well. When you add WPIAddons they will create config files inside the WPI\WPIScripts directory on your destination. If you choose svcpack it creates a svcpack.js file and a svcpack_options.js file with all of the WPIAddons integrated. It will also create a config.js file for manual installations through wpi. If the integrator detects a svcpack.js file then it knows to setup your disk for svcpack installations. Same goes for the runonceex method. Sometimes people want certain programs to install during svcpack and some during runonceex. To accomplish this all you have to do is do your first integration as svcpack or runonceex with your chosen WPIAddons... then do a second integration (Without choosing a destination) with the other method using other WPIAddons.As for the first one deamon would be better just integrating that one. Because you have to have a reboot in the middle of it and you're just not ready for that yet.
pistolpete_1980 Posted December 20, 2007 Author Posted December 20, 2007 So in essence what you are saying is that is really isnt viable to use, a .js file or a .ini file from an existing addon to cut and paste info into wpi. i can understand your frustration, however i did not download wpi to have addons intigrated without my having the option to choose. if that were the case i would stick to just Nlite.
Kelsenellenelvian Posted December 20, 2007 Posted December 20, 2007 Optionally you can copy that section and directly add it into the Config.js...
pistolpete_1980 Posted December 20, 2007 Author Posted December 20, 2007 Ok that worked! So instead of creating a new entry in the config and adding my own switches. I can just copy the executable the the instal directory, and past the js code into the config.js the i will see the entry in the directory! Thanks!
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