b-man Posted May 23, 2009 Share Posted May 23, 2009 how do i create an addon or install a program that doesnt need to be installed to run so isnt an exe package Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 23, 2009 Share Posted May 23, 2009 Winrar SFX file!You can tell it to make shortcuts and everything. Link to comment Share on other sites More sharing options...
b-man Posted May 23, 2009 Author Share Posted May 23, 2009 ah thank you 1 other thing since i dont need it to run anything to install can i use the setup proram (run before or run after) extraction to run a reg file to associate a filetype with it Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 23, 2009 Share Posted May 23, 2009 Yup you can add a reg file in there and call it with winrar. Link to comment Share on other sites More sharing options...
b-man Posted May 23, 2009 Author Share Posted May 23, 2009 i get a prompt about adding it to the regisrty how do i make it silent Link to comment Share on other sites More sharing options...
Selena Posted May 23, 2009 Share Posted May 23, 2009 To import registry files silently, use the command "regedit /S filename".Anyway, for these kind of things, I prefer an application called "Advanced Installer". It's freeware for simple projects. Link to comment Share on other sites More sharing options...
b-man Posted May 23, 2009 Author Share Posted May 23, 2009 thanks finally achieved it hope the addon works now, it works stand alone Link to comment Share on other sites More sharing options...
Martin H Posted May 23, 2009 Share Posted May 23, 2009 Btw, for making silent installers, then i would strongly recomend checking out the 7z SFX modified module(sticky thread on top of this forum)... It features a boatload of config options, including e.g. adding reg-entries without using REG-files, and running NT Command Processor commands without using NT Command Scripts etc... Just a tip for a more advanced solution, if you're serious about making silent installers, but if you're just into the easiest solution, then stick to WinRAR Link to comment Share on other sites More sharing options...
b-man Posted May 26, 2009 Author Share Posted May 26, 2009 thanks id like to learn the advanced way but at the moment im having enough trouble doing all these things the easy way lol so ill stick to the easy way for nowhard enough trying to find the easy way as some threads that should be sticky threads are lost through pages of junk Link to comment Share on other sites More sharing options...
iamtheky Posted May 26, 2009 Share Posted May 26, 2009 (edited) Maybe I am missing something. But why not just xcopy the files, then xcopy the shortcut (as it would need to be in the source, it would have to be made prior and edited to reflect proper deployment location of the .exe) to the desktop.Its what I do for the portable suites. Edited May 26, 2009 by iamtheky Link to comment Share on other sites More sharing options...
b-man Posted May 27, 2009 Author Share Posted May 27, 2009 er huh? is that through run once?i am beginner to all this so a silent installer and addon is easier, i dont understand run once yet Link to comment Share on other sites More sharing options...
strel Posted May 27, 2009 Share Posted May 27, 2009 Yes you can use runonce. Read the unattended guide, it's not difficult, keep an eye on Reference/Timeline section for easier understanding. This method is easier than making an addon for that kind of applications IMHO. Link to comment Share on other sites More sharing options...
Martin H Posted May 27, 2009 Share Posted May 27, 2009 (edited) IMHO, then the nicest and cleanest method of installing apps without an installer, is by using an INF file, like e.g. this one for Foxit Reader:[Version]Signature=$Windows NT$[DefaultInstall]CopyFiles=copyfilesAddReg=addregUpdateInis=updateinisRunPostSetupCommands=runpostsetupcommands:1[DestinationDirs]copyfiles=16422,Foxit Reader[copyfiles]Foxit Reader.exeFoxit_JS_ExObjects.dllfxdecod1.dlljs.dll[addreg]HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowEditorAd_908",0x0,"0"HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowReaderAd_908",0x0,"0"HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowTypewriterAd_908",0x0,"0"HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowPOAd_908",0x0,"0"HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowSDKAd_908",0x0,"0"[updateinis]setup.ini,progman.groups,,group1=%16409%setup.ini,group1,,"Foxit Reader,""""""%16422%\Foxit Reader\Foxit Reader.exe""""""setup.ini,progman.groups,,group2=%16410%\Microsoft\Internet Explorer\Quick Launchsetup.ini,group2,,"Foxit Reader,""""""%16422%\Foxit Reader\Foxit Reader.exe""""""[runpostsetupcommands]%16422%\Foxit Reader\Foxit Reader.exe -RegisterThis INF will make a folder in %programfiles% named 'Foxit Reader', copy the four program files over to that folder, make shortcuts on the desktop and in quick launch, add reg-entries for diabling adds, and registering file-associations.All the 4 program files + the above INF should be in the same folder, but if wanting the 4 program files into a seperate folder for "cleanlines"(so it's an INF + a folder with the source files), then just change the 'copyfiles' section like this:[copyfiles]Foxit Reader.exe,files\Foxit Reader.exeFoxit_JS_ExObjects.dll,files\Foxit_JS_ExObjects.dllfxdecod1.dll,files\fxdecod1.dlljs.dll,files\js.dll(No need for SourceDisksNames/SourceDisksFiles )Note: The above is an Advanced INF and hence needs to be installed through advpack.dll:rundll32 advpack.dll,LaunchINFSection install.inf,,1 Edited May 28, 2009 by Martin H Link to comment Share on other sites More sharing options...
JoeMSFN Posted May 29, 2009 Share Posted May 29, 2009 Perhaps some would like the stand alone installable for their less technical people in their life. I forget which one but I THINK inno setup is also capable of creating add/remove program entries. Whichever system does it, I believe it is downloadable from source forge. Link to comment Share on other sites More sharing options...
ajua Posted May 29, 2009 Share Posted May 29, 2009 To import registry files silently, use the command "regedit /S filename".Anyway, for these kind of things, I prefer an application called "Advanced Installer". It's freeware for simple projects.I use the Professional (if Caphyon Advanced Installer is what you meant) version but for simple installers like freeware programs and portables, its simple install is free and it is great for creating MSI from scratch without any knowledge.If you want to save space with big programs, try making admin installs (after you create your MSI installers) and then repackage them using 7-Zip.WinRAR SFX files are great for quick installs too. 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