i have written some commented .reg files which may be a useful addition to the innounp distribution files. a gui for innounp would be better but not necessary and overkill really IMHO. to run the .reg files just double click them.
here are listings of the 3 reg files which will install/remove the following three innounp right click context menu commands for .exe files which others may find useful:
innounp Extract
innounp Info
innounp List
each command box will not "close and disappear" and the List command will also pause after each pageful. the Extract command will unpack the files in the .exe directory. copy innounp.exe to any directory in your PATH (eg. C:\WINDOWS) or alternatively add the innounp.exe directory location to your PATH.
; innounp reg file for Win 9x/Me
; installs innounp right click context menu commands for .exe files
;
; innounp Extract
; innounp Info
; innounp List
;
; files will be Extracted in the .exe directory
; copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
; innounp reg file for Win NT/2k/XP
; installs innounp right click context menu commands for .exe files
;
; innounp Extract
; innounp Info
; innounp List
;
; files will be Extracted in the .exe directory
; copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
using command.com is not a good idea within windows protected system, esp. while extracting file. I personally dont like any gui output while extractin files. A simple registry would be:
Wasi: my previous command.com usage is ONLY for Win9x (innounp_reg_install_win9x.reg) and command.com IS THE ONLY command processor used in that OS for either pure DOS or protected mode.
QuickeneR: you did a great job with v0.14 with the new options to extract to a subdirectory etc. And also now 100% correct .iss script extraction of double-quotes in [Registry] script ValueData. Previously v0.13 got the double-quotes wrong. Great work!
Here are my reg file listings for v0.14 which are now updated to also extract embedded files and use OS independent (WinALL) .reg scripting (hence only two not three .reg files now)
-----------------------
innounp_reg_install.reg
-----------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Installs innounp right click context menu commands for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003
;
; Copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
;
; Each command box will not "close and disappear"
;
; The default Extract command will unpack all files (including embedded) in
; the Inno Setup *.exe into a subdirectory "innounp" below the *.exe directory
;
; The List command will pause after each page
;
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -x -m -dinnounp "%1"
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\
6e,70,2e,65,78,65,20,2d,78,20,2d,6d,20,2d,64,69,6e,6e,6f,75,\
6e,70,20,22,25,31,22,00
----------------------
innounp_reg_remove.reg
----------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Removes innounp right click context menu commands for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003
;
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp List]
--------------------------
END OF 2 REG FILE LISTINGS
--------------------------
nullz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
These two reg files are now updated to include the -a switch (extract/list all copies of duplicate files) and support Windows Vista.
Instructions:
1. Open Windows Notepad
2. Cut and paste the text below between (and NOT including) the -------- lines and save them as ANSI plain text to the two given filenames.
3. The lines beginning with ; or // are comments and can optionally be omitted if desired.
4. Please read the file comments carefully for more detailed information.
5. To install: double click innounp_shell_install.reg and click "Yes" when prompted.
6. To uninstall: double click innounp_shell_remove.reg and click "Yes" when prompted.
Best regards and seasons greetings to all,
nullz
-------------------------
innounp_shell_install.reg
-------------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Installs innounp shell extensions for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003/Vista
;
; Copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
; Since innounp.exe will be in your PATH you can also manually type
; innounp[.exe] commands at the Command Prompt, for example:
; innounp -x -m -a -dunpacked Setup.exe
;
; These three shell extension commands will appear for an *.exe file under
; "File" in the main menu of Windows Explorer and also in the right click
; popup context menu in both Windows Explorer and most other Windows programs
;
; innounp.exe is a Console mode program so its output is NOT Graphical but in
; text mode in a command box
;
; Each innounp shell extension command box will NOT "close and disappear" which
; is what would usually occur if you ran innounp.exe by Start > Run...
;
; The default Extract command will unpack all files (including embedded and
; all duplicates) in the Inno Setup *.exe into a subdirectory "innounp" below
; the *.exe directory
;
; The Info command is a quick way to determine if the selected *.exe file is
; a recognized Inno Setup installer and, if so, if it is a supported version
; which can be Extracted by innounp
;
; The List command will pause after each page
;
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -x -m -a -dinnounp "%1"
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\
6e,70,2e,65,78,65,20,2d,78,20,2d,6d,20,2d,61,20,2d,64,69,6e,\
6e,6f,75,6e,70,20,22,25,31,22,00
------------------------
innounp_shell_remove.reg
------------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Removes innounp shell extensions for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003/Vista
;
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp List]
----------------------------
END OF TWO REG FILE LISTINGS
----------------------------
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have written some commented .reg files which may be a useful addition to the innounp distribution files. a gui for innounp would be better but not necessary and overkill really IMHO. to run the .reg files just double click them.
here are listings of the 3 reg files which will install/remove the following three innounp right click context menu commands for .exe files which others may find useful:
innounp Extract
innounp Info
innounp List
each command box will not "close and disappear" and the List command will also pause after each pageful. the Extract command will unpack the files in the .exe directory. copy innounp.exe to any directory in your PATH (eg. C:\WINDOWS) or alternatively add the innounp.exe directory location to your PATH.
----------------------------
innounp_reg_install_win9x.reg
----------------------------
REGEDIT4
; innounp reg file for Win 9x/Me
; installs innounp right click context menu commands for .exe files
;
; innounp Extract
; innounp Info
; innounp List
;
; files will be Extracted in the .exe directory
; copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract\command]
@="command.com /k innounp.exe -x \"%1\""
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info\command]
@="command.com /k innounp.exe \"%1\""
[HKEY_CLASSES_ROOT\exefile\shell\innounp List]
[HKEY_CLASSES_ROOT\exefile\shell\innounp List\command]
@="command.com /k innounp.exe -v \"%1\" | more.com"
----------------------------
innounp_reg_install_winnt.reg
----------------------------
REGEDIT4
; innounp reg file for Win NT/2k/XP
; installs innounp right click context menu commands for .exe files
;
; innounp Extract
; innounp Info
; innounp List
;
; files will be Extracted in the .exe directory
; copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract\command]
@="cmd.exe /k innounp.exe -x \"%1\""
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info\command]
@="cmd.exe /k innounp.exe \"%1\""
[HKEY_CLASSES_ROOT\exefile\shell\innounp List]
[HKEY_CLASSES_ROOT\exefile\shell\innounp List\command]
@="cmd.exe /k innounp.exe -v \"%1\" | more.com"
-----------------------------
innounp_reg_remove_winall.reg
-----------------------------
REGEDIT4
; innounp reg file for Win ALL
; removes innounp right click context menu commands for .exe files
;
; innounp Extract
; innounp Info
; innounp List
;
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp List]
----------------------------
END OF 3 REG FILE LISTINGS
----------------------------
using command.com is not a good idea within windows protected system, esp. while extracting file. I personally dont like any gui output while extractin files. A simple registry would be:
[HKEY_CLASSES_ROOT\exefile\shell\inno\command]
@="E:\\Tools\\Compress\\UnPacker\\Inno\\innounp.exe -x \"%1\""
and it works fine without using DOS box. But I wonder how it will be possible to unpack in a sub folder?
Wasi
Wasi: my previous command.com usage is ONLY for Win9x (innounp_reg_install_win9x.reg) and command.com IS THE ONLY command processor used in that OS for either pure DOS or protected mode.
QuickeneR: you did a great job with v0.14 with the new options to extract to a subdirectory etc. And also now 100% correct .iss script extraction of double-quotes in [Registry] script ValueData. Previously v0.13 got the double-quotes wrong. Great work!
Here are my reg file listings for v0.14 which are now updated to also extract embedded files and use OS independent (WinALL) .reg scripting (hence only two not three .reg files now)
-----------------------
innounp_reg_install.reg
-----------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Installs innounp right click context menu commands for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003
;
; Copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
;
; Each command box will not "close and disappear"
;
; The default Extract command will unpack all files (including embedded) in
; the Inno Setup *.exe into a subdirectory "innounp" below the *.exe directory
;
; The List command will pause after each page
;
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -x -m -dinnounp "%1"
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\ 6e,70,2e,65,78,65,20,2d,78,20,2d,6d,20,2d,64,69,6e,6e,6f,75,\ 6e,70,20,22,25,31,22,00
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe "%1"
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\ 6e,70,2e,65,78,65,20,22,25,31,22,00
[HKEY_CLASSES_ROOT\exefile\shell\innounp List]
[HKEY_CLASSES_ROOT\exefile\shell\innounp List\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -v -m "%1" | more.com
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\ 6e,70,2e,65,78,65,20,2d,76,20,2d,6d,20,22,25,31,22,20,7c,20,\ 6d,6f,72,65,2e,63,6f,6d,00
----------------------
innounp_reg_remove.reg
----------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Removes innounp right click context menu commands for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003
;
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp List]
--------------------------
END OF 2 REG FILE LISTINGS
--------------------------
nullz
Very, Very Great utility!
Italian user
Maurizio - maurizio.mama@iol.it
Thank you for thoses reg files !!!
Thanks very much QuickeneR for the updated innounp 0.20 test version which supports IS up to 5.2.2:
http://sourceforge.net/forum/message.php?msg_id=4591381
http://innounp.sourceforge.net/test020.rar
Could you release 0.20 officially on sf (with wanted source) please?
These two reg files are now updated to include the -a switch (extract/list all copies of duplicate files) and support Windows Vista.
Instructions:
1. Open Windows Notepad
2. Cut and paste the text below between (and NOT including) the -------- lines and save them as ANSI plain text to the two given filenames.
3. The lines beginning with ; or // are comments and can optionally be omitted if desired.
4. Please read the file comments carefully for more detailed information.
5. To install: double click innounp_shell_install.reg and click "Yes" when prompted.
6. To uninstall: double click innounp_shell_remove.reg and click "Yes" when prompted.
Best regards and seasons greetings to all,
nullz
-------------------------
innounp_shell_install.reg
-------------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Installs innounp shell extensions for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003/Vista
;
; Copy innounp.exe to any directory in your PATH eg. C:\WINDOWS
; Since innounp.exe will be in your PATH you can also manually type
; innounp[.exe] commands at the Command Prompt, for example:
; innounp -x -m -a -dunpacked Setup.exe
;
; These three shell extension commands will appear for an *.exe file under
; "File" in the main menu of Windows Explorer and also in the right click
; popup context menu in both Windows Explorer and most other Windows programs
;
; innounp.exe is a Console mode program so its output is NOT Graphical but in
; text mode in a command box
;
; Each innounp shell extension command box will NOT "close and disappear" which
; is what would usually occur if you ran innounp.exe by Start > Run...
;
; The default Extract command will unpack all files (including embedded and
; all duplicates) in the Inno Setup *.exe into a subdirectory "innounp" below
; the *.exe directory
;
; The Info command is a quick way to determine if the selected *.exe file is
; a recognized Inno Setup installer and, if so, if it is a supported version
; which can be Extracted by innounp
;
; The List command will pause after each page
;
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Extract\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -x -m -a -dinnounp "%1"
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\ 6e,70,2e,65,78,65,20,2d,78,20,2d,6d,20,2d,61,20,2d,64,69,6e,\ 6e,6f,75,6e,70,20,22,25,31,22,00
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[HKEY_CLASSES_ROOT\exefile\shell\innounp Info\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe "%1"
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\ 6e,70,2e,65,78,65,20,22,25,31,22,00
[HKEY_CLASSES_ROOT\exefile\shell\innounp List]
[HKEY_CLASSES_ROOT\exefile\shell\innounp List\command]
// REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -v -m -a "%1" | more.com
@=hex(2):22,25,43,4f,4d,53,50,45,43,25,22,20,2f,6b,20,69,6e,6e,6f,75,\ 6e,70,2e,65,78,65,20,2d,76,20,2d,6d,20,2d,61,20,22,25,31,22,\ 20,7c,20,6d,6f,72,65,2e,63,6f,6d,00
------------------------
innounp_shell_remove.reg
------------------------
REGEDIT4
;
; innounp reg file for Win ALL
;
; Removes innounp shell extensions for *.exe files:
;
; innounp Extract
; innounp Info
; innounp List
;
; You must be logged on with administrator rights to run this reg file
; on Win NT/2000/XP/2003/Vista
;
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Extract]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp Info]
[-HKEY_CLASSES_ROOT\exefile\shell\innounp List]
----------------------------
END OF TWO REG FILE LISTINGS
----------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\exefile\shell\InnoUnp Extract]
[HKEY_CLASSES_ROOT\exefile\shell\InnoUnp Extract\command]
[color=green]; REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -x -m -a -dinnounp "%1"[/color]
[color=red]@[/color]=hex(2):22,00,25,00,43,00,4f,00,4d,00,53,00,50,00,45,00,43,00,25,00,22,00,20,\ 00,2f,00,6b,00,20,00,69,00,6e,00,6e,00,6f,00,75,00,6e,00,70,00,2e,00,65,00,\ 78,00,65,00,20,00,2d,00,78,00,20,00,2d,00,6d,00,20,00,2d,00,61,00,20,00,2d,\ 00,64,00,69,00,6e,00,6e,00,6f,00,75,00,6e,00,70,00,20,00,22,00,25,00,31,00,\ 22,00,00,00
[HKEY_CLASSES_ROOT\exefile\shell\InnoUnp Info]
[HKEY_CLASSES_ROOT\exefile\shell\InnoUnp Info\command]
[color=green]; REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe "%1"[/color]
[color=red]@[/color]=hex(2):22,00,25,00,43,00,4f,00,4d,00,53,00,50,00,45,00,43,00,25,00,22,00,20,\ 00,2f,00,6b,00,20,00,69,00,6e,00,6e,00,6f,00,75,00,6e,00,70,00,2e,00,65,00,\ 78,00,65,00,20,00,22,00,25,00,31,00,22,00,00,00
[HKEY_CLASSES_ROOT\exefile\shell\InnoUnp List]
[HKEY_CLASSES_ROOT\exefile\shell\InnoUnp List\command]
[color=green]; REG_EXPAND_SZ : "%COMSPEC%" /k innounp.exe -v -m -a "%1" | more.com[/color]
[color=red]@[/color]=hex(2):22,00,25,00,43,00,4f,00,4d,00,53,00,50,00,45,00,43,00,25,00,22,00,20,\ 00,2f,00,6b,00,20,00,69,00,6e,00,6e,00,6f,00,75,00,6e,00,70,00,2e,00,65,00,\ 78,00,65,00,20,00,2d,00,76,00,20,00,2d,00,6d,00,20,00,2d,00,61,00,20,00,22,\ 00,25,00,31,00,22,00,20,00,7c,00,20,00,6d,00,6f,00,72,00,65,00,2e,00,63,00,\ 6f,00,6d,00,00,00
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\exefile\shell\InnoUnp Extract]
[-HKEY_CLASSES_ROOT\exefile\shell\InnoUnp Info]
[-HKEY_CLASSES_ROOT\exefile\shell\InnoUnp List]
Is it possible to have a casacde menu stile like
innounp shell -> Extract/Info/List