[Tool] INF Assistant v0.23
#41
Posted 01 December 2008 - 11:48 PM
#42
Posted 02 December 2008 - 07:31 AM
many enhancements, see the changelog for all of the changes
#43
Posted 02 December 2008 - 09:44 PM
Changelog
12-2-08 - v0.22
-fixed bug where AddReg=prog.addreg and [Prog.AddReg] would not display if not adding registry entries
#44
Posted 02 December 2008 - 09:47 PM
I'm sorry but to be able to create the addon, it is not possible to create using batch files. If it is a language issue, I am willing to add your language to the script.thanks Jonnyboy for update do you can continu via vbscript (previous version) no gui
#45
Posted 03 December 2008 - 12:18 AM
version 0.22 posted
Changelog
12-2-08 - v0.22
-fixed bug where AddReg=prog.addreg and [Prog.AddReg] would not display if not adding registry entries
D/L link pointed to version 0.21.....
I fixed it for ya... Points to 0.22 now...
Hope ya don't mind.....
Excellent work as always....
#46
Posted 03 December 2008 - 12:45 AM
thanksD/L link pointed to version 0.21.....
I fixed it for ya... Points to 0.22 now...
Hope ya don't mind.....
Excellent work as always....
Edited by Jonnyboy, 03 December 2008 - 12:45 AM.
#47
Posted 04 December 2008 - 05:32 AM
Thanks for any help you can provide.
dolivas
[codebox]; Created with Jonnyboy's Inf Assistant
[Version]
Signature="$Windows NT$"
[Optional Components]
Restorator
[Restorator]
OptionDesc="%win_comp%"
Tip="%win_comp% v%disp_vers% %addo_made%"
Modes=0,1,2,3
Copyfiles=prog.10001,prog.10002,prog.10003,prog.10004,prog.10005,prog.10006,prog
.10007,prog.10008,prog.10009,prog.10010,prog.10011,prog.10012,prog.10013,prog.10
0
14,prog.10015,prog.10016,prog.10017
AddReg=prog.addreg
ProfileItems=ProfileItems Name.AddShortcut
[DefaultInstall]
Copyfiles=@%inf_file%,prog.10001,prog.10002,prog.10003,prog.10004,prog.10005,prog.10006,prog.10007,pr
og.10008,prog.10009,prog.10010,prog.10011,prog.10012,prog.10013,prog.10014,prog.
1
0015,prog.10016,prog.10017
ProfileItems=ProfileItems Name.AddShortcut
AddReg=prog.addreg
[DefaultUnInstall]
BeginPrompt=UninstallPrompt
EndPrompt=UninstallSuccess
RunPreSetupCommands=KillProcess:1
RunPostSetupCommands=DelFolders
DelFiles=prog.infs
DelDirs=prog.deldirs
DelReg=prog.delreg
UpdateInis=prog.sysoc
Cleanup=1
ProfileItems=ProfileItems Name.DelShortcut
[SourceDisksNames]
1="%win_comp% Files","%win_comp%.cab",,"i386"
[DestinationDirs]
prog.10001=16422,"%prog_dir%"
prog.10002=16422,"%prog_dir%\help"
prog.10003=16422,"%prog_dir%\help\images"
prog.10004=16422,"%prog_dir%\help\tutorials"
prog.10005=16422,"%prog_dir%\help\tutorials\about"
prog.10006=16422,"%prog_dir%\help\tutorials\delphi"
prog.10007=16422,"%prog_dir%\help\tutorials\dlgedit"
prog.10008=16422,"%prog_dir%\help\tutorials\exp"
prog.10009=16422,"%prog_dir%\help\tutorials\extrall"
prog.10010=16422,"%prog_dir%\help\tutorials\find"
prog.10011=16422,"%prog_dir%\help\tutorials\grab"
prog.10012=16422,"%prog_dir%\help\tutorials\interface"
prog.10013=16422,"%prog_dir%\help\tutorials\rp"
prog.10014=16422,"%prog_dir%\help\tutorials\tool"
prog.10015=16422,"%prog_dir%\help\tutorials\trans"
prog.10016=16422,"%prog_dir%\help\tutorials\transmulti"
prog.10017=16422,"%prog_dir%\UPX"
prog.infs=17
DefaultDestDir=17
[SourceDisksFiles]
10001.tem=1
10002.tem=1
10003.tem=1
10004.tem=1
10005.tem=1
10006.tem=1
10007.tem=1
10008.tem=1
10009.tem=1
10010.tem=1
10011.tem=1
10012.tem=1
10013.tem=1
10014.tem=1
10015.tem=1
10016.tem=1
10017.tem=1
10018.tem=1
10019.tem=1
10020.tem=1
10021.tem=1
10022.tem=1
10023.tem=1
10024.tem=1
10025.tem=1
10026.tem=1
10027.tem=1
10028.tem=1
10029.tem=1
10030.tem=1
10031.tem=1
10032.tem=1
10033.tem=1
10034.tem=1
10035.tem=1
10036.tem=1
10037.tem=1
10038.tem=1
10039.tem=1
10040.tem=1
10041.tem=1
10042.tem=1
10043.tem=1
10044.tem=1
10045.tem=1
10046.tem=1
10047.tem=1
10048.tem=1
10049.tem=1
10050.tem=1
10051.tem=1
10052.tem=1
10053.tem=1
10054.tem=1
10055.tem=1
10056.tem=1
10057.tem=1
10058.tem=1
10059.tem=1
10060.tem=1
10061.tem=1
10062.tem=1
10063.tem=1
10064.tem=1
10065.tem=1
10066.tem=1
10067.tem=1
10068.tem=1
10069.tem=1
10070.tem=1
10071.tem=1
10072.tem=1
10073.tem=1
10074.tem=1
10075.tem=1
10076.tem=1
10077.tem=1
10078.tem=1
10079.tem=1
10080.tem=1
10081.tem=1
10082.tem=1
10083.tem=1
10084.tem=1
10085.tem=1
10086.tem=1
10087.tem=1
10088.tem=1
10089.tem=1
10090.tem=1
10091.tem=1
10092.tem=1
10093.tem=1
10094.tem=1
10095.tem=1
10096.tem=1
10097.tem=1
10098.tem=1
10099.tem=1
10100.tem=1
10101.tem=1
10102.tem=1
10103.tem=1
10104.tem=1
10105.tem=1
10106.tem=1
10107.tem=1
10108.tem=1
10109.tem=1
10110.tem=1
10111.tem=1
10112.tem=1
10113.tem=1
10114.tem=1
10115.tem=1
10116.tem=1
10117.tem=1
10118.tem=1
10119.tem=1
10120.tem=1
10121.tem=1
10122.tem=1
10123.tem=1
[prog.10001]
Check for Updates.url,10001.tem
Discussion Forums.url,10002.tem
features.html,10003.tem
license.txt,10004.tem
order_form.html,10005.tem
purchase.html,10006.tem
Restorator.exe,10007.tem
Restorator.url,10008.tem
styles.css,10009.tem
unins000.dat,10010.tem
unins000.exe,10011.tem
UninsHs.exe,10012.tem
webicon.ico,10013.tem
[prog.10002]
FAQ.html,10014.tem
help.html,10015.tem
links.html,10016.tem
support.html,10017.tem
tech.html,10018.tem
tutorials.html,10019.tem
version_history.html,10020.tem
[prog.10003]
add_resource.png,10021.tem
cm_file.png,10022.tem
cm_folder.png,10023.tem
cm_res.png,10024.tem
find_in_files.png,10025.tem
forcefile.png,10026.tem
image004.jpg,10027.tem
part_view_default.png,10028.tem
part_view_hex.png,10029.tem
part_view_rc.png,10030.tem
settings.png,10031.tem
xp_manifest.png,10032.tem
[prog.10004]
interface.html,10033.tem
terms.html,10034.tem
TutAbout.html,10035.tem
TutDelphi.html,10036.tem
TutExplor.html,10037.tem
TutExtrAll.html,10038.tem
TutGrab.html,10039.tem
TutPatch.html,10040.tem
TutSearch.html,10041.tem
TutTrans.html,10042.tem
TutTransMulti.html,10043.tem
UIRecreator.html,10044.tem
whatis.html,10045.tem
[prog.10005]
131.png,10046.tem
about_mod.png,10047.tem
arrow.png,10048.tem
assign.png,10049.tem
dragopen.png,10050.tem
extract.png,10051.tem
snake.jpg,10052.tem
splash.png,10053.tem
[prog.10006]
rstsplash.gif,10054.tem
rsttxt.gif,10055.tem
TSplashForm1_Image1_Picture_Data.bmp,10056.tem
[prog.10007]
dlgedit1.png,10057.tem
dlgedit2.png,10058.tem
dlgedit3.png,10059.tem
[prog.10008]
expacc.png,10060.tem
expdlg.png,10061.tem
expicon.png,10062.tem
expimage.png,10063.tem
expimages.png,10064.tem
expmenu.png,10065.tem
expopen.png,10066.tem
expopendlg.gif,10067.tem
expstring.png,10068.tem
version_edit.png,10069.tem
[prog.10009]
shassign.gif,10070.tem
sherror.gif,10071.tem
shnewdirs.gif,10072.tem
shopen.gif,10073.tem
[prog.10010]
findbrowse.gif,10074.tem
finddlg.gif,10075.tem
findfound.gif,10076.tem
[prog.10011]
grab_resources.png,10077.tem
[prog.10012]
file_browser.png,10078.tem
overview.png,10079.tem
[prog.10013]
respatcher.png,10080.tem
rpbluearrow.png,10081.tem
rpstep1.png,10082.tem
rpstep2.png,10083.tem
rpstep3.png,10084.tem
rpstep4.png,10085.tem
rpwelcome.png,10086.tem
[prog.10014]
toolclose.gif,10087.tem
tooldirup.gif,10088.tem
tooledit.gif,10089.tem
toolfind.gif,10090.tem
toolhex.gif,10091.tem
toolnewdir.gif,10092.tem
toolopen.gif,10093.tem
toolRC.gif,10094.tem
toolresource.gif,10095.tem
toolrun.gif,10096.tem
toolsave.gif,10097.tem
[prog.10015]
mspacc.gif,10098.tem
mspchanged.gif,10099.tem
mspdlgedit.gif,10100.tem
mspedit.gif,10101.tem
mspmenu1.gif,10102.tem
mspmenu2.gif,10103.tem
mspmenupreview.gif,10104.tem
mspstring.gif,10105.tem
[prog.10016]
edit_locale.png,10106.tem
ml_copy.gif,10107.tem
ml_paste.gif,10108.tem
ml_result.gif,10109.tem
ml_save.gif,10110.tem
ml_save2.gif,10111.tem
[prog.10017]
BUGS,10112.tem
COPYING,10113.tem
LICENSE,10114.tem
NEWS,10115.tem
README,10116.tem
README.1ST,10117.tem
THANKS,10118.tem
TODO,10119.tem
upx.1,10120.tem
upx.doc,10121.tem
upx.exe,10122.tem
upx.html,10123.tem
[Prog.Infs]
%win_comp%.pnf,,,1
[ProfileItems Name.AddShortcut]
Name =%win_comp%,8,47
CmdLine =16422,%prog_dir%,%prog_exe%
WorkingDir =16422,%prog_dir%
[ProfileItems Name.DelShortcut]
Name =%win_comp%,0x0000000A,47
[UninstallPrompt]
Title=%unin_prom%
Prompt=%unin_conf% %win_comp% %disp_vers%?
ButtonType=YESNO
[UninstallSuccess]
Prompt=%win_comp% %unin_done%
[KillProcess]
TASKKILL /F /IM %prog_exe%.exe
TSKILL %prog_exe%
[sysoc.Edit]
%17%\sysoc.inf,Components,%win_comp%=*
[Prog.AddReg]
HKLM,"SOFTWARE\Classes\.res",,0x0,"BomeRst.res"
HKLM,"SOFTWARE\Classes\.res\PersistentHandler",,0x0,"{098f2470-bae0-11cd-b579-08002b30bfeb}"
HKLM,"SOFTWARE\Classes\.sfx",,0x0,"BomeRst.sfx"
HKCR,".res",,0x0,"BomeRst.res"
HKCR,".res\PersistentHandler",,0x0,"{098f2470-bae0-11cd-b579-08002b30bfeb}"
HKCR,".sfx",,0x0,"BomeRst.sfx"
HKCU,"Software\Bomers\Restorator\Restorator\Main","ShowSplash",0x0,"0"
HKCU,"Software\Bomers\Restorator\Registration","Name",0x0,"Administrator"
HKCU,"Software\Bomers\Restorator\Registration","Password",0x0,"et4v4k74j8Zt44T9XYR++gTxJtgyGo4qwAjkYki-X3viXqVOvEuDirOs9wbTEaQDJX6PAkgbJX0LFmcYc4efcDl64b4X4cnFs0wFST2xw9oMgXKaPjLsrP4S
3fWNyHDvLrPJrCZkIANw33f5Cfod8ItQptZI5yfGMD9ykcnx5Vw"
HKCU,"Software\Bomers\Restorator\Registration","Type",0x0,"Regular"
HKLM,"%unin_path%\%win_comp%","DisplayName",,"%win_comp% v%disp_vers% (Remove Only)"
HKLM,"%unin_path%\%win_comp%","DisplayVersion",,"v%disp_vers%"
HKLM,"%unin_path%\%win_comp%","Publisher",,"%addo_made%"
HKLM,"%unin_path%\%win_comp%","HelpLink",,"%addo_help%"
HKLM,"%unin_path%\%win_comp%","URLInfoAbout",,"%addo_info%"
HKLM,"%unin_path%\%win_comp%","InstallLocation",0,"%24%\%prog_dir%"
HKLM,"%unin_path%\%win_comp%","UninstallString",,"rundll32.exe advpack.dll,LaunchINFSection %inf_file%,DefaultUninstall"
[Prog.DelReg]
HKLM,"SOFTWARE\Classes\.res",,0x0,"BomeRst.res"
HKLM,"SOFTWARE\Classes\.res\PersistentHandler",,0x0,"{098f2470-bae0-11cd-b579-08002b30bfeb}"
HKLM,"SOFTWARE\Classes\.sfx",,0x0,"BomeRst.sfx"
HKCR,".res",,0x0,"BomeRst.res"
HKCR,".res\PersistentHandler",,0x0,"{098f2470-bae0-11cd-b579-08002b30bfeb}"
HKCR,".sfx",,0x0,"BomeRst.sfx"
HKCU,"Software\Bomers\Restorator\Restorator\Main","ShowSplash",0x0,"0"
HKCU,"Software\Bomers\Restorator\Registration","Name",0x0,"Administrator"
HKCU,"Software\Bomers\Restorator\Registration","Password",0x0,"et4v4k74j8Zt44T9XYR++gTxJtgyGo4qwAjkYki-X3viXqVOvEuDirOs9wbTEaQDJX6PAkgbJX0LFmcYc4efcDl64b4X4cnFs0wFST2xw9oMgXKaPjLsrP4S
3fWNyHDvLrPJrCZkIANw33f5Cfod8ItQptZI5yfGMD9ykcnx5Vw"
HKCU,"Software\Bomers\Restorator\Registration","Type",0x0,"Regular"
HKLM,"%unin_arpc%\%win_comp%"
HKLM,"%unin_path%\%win_comp%"
[Strings]
win_comp="Restorator"
prog_exe="Restorator.exe"
prog_dir="Restorator 2007"
disp_vers="1709"
addo_made="Addon created by Jonnyboy's Inf Assistant"
addo_help=""
addo_info=""
unin_prom="Jonnyboy's Prog_Name Addon Uninstaller"
unin_conf="Do you really want to remove"
unin_done="has been successfully removed from your computer"
unin_path="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
unin_arpc="SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache"
inf_file="Restorator.inf"[/codebox]
Edited by MrNxDmX, 23 December 2008 - 01:15 AM.
Added codebox...
#48
Posted 04 December 2008 - 05:17 PM
Ok, first this "%win_comp%,8,47" will create a shortcut in "%AllUsersProfile%\Start Menu\Programs\Administrative Tools", if you want "Start/All Programs/Restorator 2007" your profileitems would look likeJonnyboy excellent work I have some questions I have been playing around with this and have it some what working I am trying to make a addon for my Restorator 2007 and have it working but it is not creating the menu in Start/All Programs/Restorator 2007 I was able to create a shortcut to the program in Start/All Programs/Administrator Tools and the second problem I am having is that when I uninstall the program thru Add/Remove it deletes the short cut but not the program and directory at C:\program files\Restorator 2007
Thanks for any help you can provide.
dolivas
[ProfileItems Name.AddShortcut] Name =%win_comp%,8,23 CmdLine =16422,%prog_dir%,%prog_exe% WorkingDir =16422,%prog_dir% SubDir=%prog_dir%Second, I forget to add the code back in for deldirs and Delfiles. It will be in the update that I post today or tomorrow.
Thanks for the heads up.
Edited by Jonnyboy, 05 December 2008 - 12:04 AM.
#49
Posted 05 December 2008 - 09:49 PM
Thanx for the exellent work.
It's a great script and VERY useful.
I have a favor to ask: can you make a tutorial how to write hta scripts?
Thanx again.
#50
Posted 05 December 2008 - 10:33 PM
Thank youHi Jonnyboy.
Thanx for the exellent work.
It's a great script and VERY useful.
That would be harder than it sounds.I have a favor to ask: can you make a tutorial how to write hta scripts?
First, an hta is a combination of html and either vbscript or javascript. So, you have to know how to use one of those scripting languages and html.
Second, if you have followed the progress of the INF Assistant and the Firefox Addon Maker, you can see that I am still learning both vbscript and html.
Third, I still need to write tutorials for both of the afore mentioned hta's.
Fourth, I haven't completed the afore mentioned hta's. There are still more features being added to both.
Aside from these, I thank you and maybe at a later date, I can try to write a tutorial on hta's.
#51
Posted 07 December 2008 - 12:40 AM
Quite a few changes and additions
Changelog:
12-6-08 - v0.23
-resized initial screen to 800x480
-fixed bug where Delete ProfileItems may insert wrong path
-resized screen
-moved copy files to create addon
-added color to inf for easier reading
-added option for renaming file names while leaving the extension the first 3 characters of the extension
-moved strings to separate page, instead of popup
-moved profileitems to a separate page
-added a few status messages
-added ability to have spaves in strings, in situations where spaces in strings are not permitted, the spaces are replaced with "_"
-made check boxes on main page look and act like buttons
-renamed string variables to be easier to recognize and understand
-fixed bug where Deldirs and Delfiles were not printing
-fixed typos
Edited by Jonnyboy, 07 December 2008 - 05:11 PM.
#52
Posted 07 December 2008 - 07:17 AM
and a new Look
i think you should consider as well making empty folders
your INF Assistant just ignore them
they normally are useless but some times the program doesn't run without them
and you should also consider clear screen Button
after i end first addon and go to another i have to close the INF Assistant and run it again
so a Clear Screen should be Helpful
Edit: when i was trying Added Registry Section
i Found that it Makes [Prog.DelReg]
which will not be used if Uninstaller is not active
Edited by DaRk MaDnEsS, 07 December 2008 - 07:22 AM.
#53
Posted 07 December 2008 - 05:09 PM
I do not know how a generic inf can create an empty folder. It is of course possible to create empty folders and I will look at adding that.i think you should consider as well making empty folders
***EDIT***
I think that the easiest way to get the empty folders created is while I am testing to see if the folder is empty. If the folder is empty, create an empty text file and add that to the folder, thus adding the folder.
Would it matter if there was an unreleated file in the folder? If so, I could also add file to DelFiles and run that after install and then the file would be removed. What do you think?
I am sure that all temp files are deleted and that all variables are being reset at the end, so your screen should clear. The only thing that may fail is single file. Sometimes, it grabs a path and will not release it.and you should also consider clear screen Button
after i end first addon and go to another i have to close the INF Assistant and run it again
Good catch, I will fix this.Edit: when i was trying Added Registry Section
i Found that it Makes [Prog.DelReg]
which will not be used if Uninstaller is not active
Edited by Jonnyboy, 07 December 2008 - 05:24 PM.
#54
Posted 07 December 2008 - 05:58 PM
well i think it wouldn't matter but it can be done as wellI do not know how a generic inf can create an empty folder. It is of course possible to create empty folders and I will look at adding that.
***EDIT***
I think that the easiest way to get the empty folders created is while I am testing to see if the folder is empty. If the folder is empty, create an empty text file and add that to the folder, thus adding the folder.
Would it matter if there was an unreleated file in the folder? If so, I could also add file to DelFiles and run that after install and then the file would be removed. What do you think?
throw cmd like runpostsetupcommands
and make a section and added
"CMD /Q /C MD ""%16422%\%programDir%\%emptyFolder%""
it`s up to you
you choose the way you want
your tool rocks
#55
Posted 07 December 2008 - 06:06 PM
That is the other way of creating empty folders.well i think it wouldn't matter but it can be done as well
throw cmd like runpostsetupcommands
and make a section and added
"CMD /Q /C MD ""%16422%\%programDir%\%emptyFolder%""
it`s up to you
you choose the way you want![]()
your tool rocksin every version.
I am not sure the best way. This way you navigate to every empty folder that you need added. The other, every empty folder in the paths chosen, would be added.
Yet another choice would be have a pop-up ask if you want to add that empty folder.
#56
Posted 07 December 2008 - 10:18 PM
#57
Posted 07 December 2008 - 11:06 PM
That is the other way of creating empty folders.
I am not sure the best way. This way you navigate to every empty folder that you need added. The other, every empty folder in the paths chosen, would be added.
Yet another choice would be have a pop-up ask if you want to add that empty folder.
well the good in my way you don't have to make an empty text then delete it
it makes the empty folder
and yet your idea about pop-up asking for adding empty folder or not is good
and as i said it`s up to you you the one that type commands i just test it
#58
Posted 08 December 2008 - 02:48 PM
Thanks,
dolivas
#59
Posted 08 December 2008 - 11:07 PM
I am not sure where you are seeing the %. So, did you edit the strings? %program_name%="Prog_Name"Jonnyboy nice work I was final able to test the new version and like the looks better. The removal of the program directory is now working I now have another problem do you know why the short cut and the add remove entry for the name of the program is showing %programname% program name being the the name of the program why the %
Thanks,
dolivas
#60
Posted 09 December 2008 - 08:55 AM
I know only html. Regarding vbscript I'm still learning it too.That would be harder than it sounds.
First, an hta is a combination of html and either vbscript or javascript. So, you have to know how to use one of those scripting languages and html.
Second, if you have followed the progress of the INF Assistant and the Firefox Addon Maker, you can see that I am still learning both vbscript and html.
Ok no prob. I don't want ot put more load on your shoulders (you have done much alreadyThird, I still need to write tutorials for both of the afore mentioned hta's.
Fourth, I haven't completed the afore mentioned hta's. There are still more features being added to both.
Aside from these, I thank you and maybe at a later date, I can try to write a tutorial on hta's.
felix
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













