shahed Posted January 19, 2008 Posted January 19, 2008 Hican someone please help or show me how to install these cab addon with wpi. basically i want to use wpi to install cab addon on my vista.thank you Quote
Kelsenellenelvian Posted January 20, 2008 Posted January 20, 2008 You need to modify the interior contents of the cab and also do some heavy modification of the .inf file.Look at a couple of my switchless installers I made like the ones for CPL bonus pack. Quote
ricktendo Posted January 21, 2008 Posted January 21, 2008 Well all you would have to do is put the *.cab files in a i386 folder, example "%wpipath%\Install\i386" (this stops it from asking where the files are) and use a command to launch the [DefaultInstall] section of the addons *.inf like this:rundll32 advpack.dll,LaunchINFSection "%wpipath%\Install\InfFileNameHere.inf",,1The ",,1" hides the CopyFiles progress bar making it fully silent Quote
Kelsenellenelvian Posted January 21, 2008 Posted January 21, 2008 WHAAAAAAAAAAAAAAAAT??!?!!!?!Does it really do that?Cool... Quote
ricktendo Posted January 21, 2008 Posted January 21, 2008 LaunchINFSectionThe LaunchINFSection function in Advanced INF Installer can be used to launch an advanced INF section using RunDLL32.EXE. This API allows user to use advpack.dll from command line without writing the program.INT WINAPI LaunchINFSection( HWND hwnd, HINSTANCE hinst, PSTR pszCmdline, INT ishow );Calling Syntaxrundll32.exe advpack.dll,LaunchINFSection inf filename[,section name][,flags][,smart reboot]INF FilenameINF file pathname you want to launch.Section NameINF install section name you want to launch in the INF file. FlagsFlag Meaning1 Quiet Mode2 No GrpConvSmart RebootN No RebootA Always RebootI Reboot if Needed (default value)Example:rundll32.exe advpack.dll,LaunchINFSection myinf.inf,,3This means install myinf.inf with DefaultInstall section in Quiet Mode with no GrpConv, reboot if needed. Quote
Kelsenellenelvian Posted January 21, 2008 Posted January 21, 2008 I know that part it is the i386 folder part I was "Whating" over.... Quote
ricktendo Posted January 21, 2008 Posted January 21, 2008 I know that part it is the i386 folder part I was "Whating" over....???But Kel you use that i386 trick already in your UberPack Quote
shahed Posted January 21, 2008 Author Posted January 21, 2008 WOW, ricks and kels thanks for your help. will try it and see how it goes. once again thank you very much. :thumbsup_anim: Quote
anonymous Posted January 22, 2008 Posted January 22, 2008 Hey rick, if you do this for multiple addons would you put each addons files in the same i386 folder? Quote
ricktendo Posted January 22, 2008 Posted January 22, 2008 Hey rick, if you do this for multiple addons would you put each addons files in the same i386 folder?Yep all cabs can go into the same foldershahed there are no guarantees it will work on Vista Quote
shahed Posted January 22, 2008 Author Posted January 22, 2008 (edited) ok ricks and kels, it does not work on vista, but i made it work, its so simple, i thought i share it with you guys, so in future you might use this method to install "cab" addons.this is what i did to make it work.example to install kels uberpack1: create a folder and name it, say uberpack2: extract all the folders and files from the addon to uberpack folder you just created EXCEPT the "CAB" 3: create another folder inside uberpack folder and name it "i386"4: extract all the files and folder to "i386" the one you just created, from the "cab" inside the "cab" addon5: now create a another file inside the uberpack folder and save with bat extension "install.bat:6: edit the "bat" and add the command:rundll32 advpack.dll,LaunchINFSection "your info file name.inf",,1exit7: thats it done, now just run the install.bat file and it will install it without prompting you to locate "i386" folder. you can also delete the cab folder as it will not be needed with this method.you can also compress all the files and folders inside the uberpack with winrar and add on the comment section:Setup=INSTALL.batTempModeSilent=1Overwrite=1this will make it more cleaner and easy to use with wpi.i hope this was helpful to you guys who might want to install cab addons with wpi or on vista.NOTE: ONLY WORKS WITH THE ADDONS THAT HAS "inf" FILES Edited January 22, 2008 by shahed Quote
Kal Posted August 6, 2008 Posted August 6, 2008 Thanks for this post, really cool What does the flag "No GrpConv" do? What does it hide? Quote
dougiefresh Posted May 23, 2009 Posted May 23, 2009 According to this website, "GrpConv" is the group conversion code that Windows uses to convert groups to folder. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.