7z SFX Modified Module and Tools
#41
Posted 10 December 2007 - 12:53 AM
Some questions:
Are you changing icon in module? If "yes" - what program you use for that ?
Are you compress module by UPX or other programs?
I.e., give me full details...
I will try to repeat the situation and provide a more precise answer.
#42
Posted 10 December 2007 - 02:44 AM
I got a question now to:
is it possible to specify two archives when creating the exe?
eg.
copy /b 7zs.sfx + config.txt + archive1.7z + archive2.7z (Installer_Name).exe
#43
Posted 10 December 2007 - 04:58 AM
Quote
eg.
copy /b 7zs.sfx + config.txt + archive1.7z + archive2.7z (Installer_Name).exe
No. It's not! Only ONE archive can be active/used in one time. (in your example this is the archive1.7z, i.e. first)
I think it is better to go to the PM about icon's problems.
When we will decide our problems, we will inform all...
#44
Posted 10 December 2007 - 05:10 AM
#45
Posted 10 December 2007 - 06:26 AM
from first post said:
GUI (but it's been todo for quite some time )
Feel free to develop GUI, but make sure it can be easily localized to other languages.
Sorry, not enough time to do this
#46
Posted 10 December 2007 - 06:33 AM
heffalump, on Dec 10 2007, 03:10 PM, said:
GUI for write config file (interface Russian only)
Creation of a config file Online service (interface Russian only)
Creation 7z SFX archives in Total Commander (interface Russian and English, Help - Russian only)
All on the basis of modified module Oleg_Sch
This post has been edited by gora: 15 October 2008 - 01:04 PM
#47
Posted 12 December 2007 - 11:19 AM
There is an other Guy (Georg Wittberger) who mod the SFX modules, with a really "eye-candy" user interface.
So, if both can combine together, it would be perfect!
Is this possible?
Regards.
Georg Wittberger Homepage
Professional_GUI.jpg (36.22K)
Number of downloads: 8
This projects aimes at improving the look and feel of 7-Zip's SFX modules. Currently there are two types of customized SFX modules: a simple basic module for general purposes and a professional-looking advanced module with a modern installer look and feel. All these modules are based on the original SFX modules so they do not provide any extra functionality. The main advantages of these customized SFX modules are the consistent look of the start dialog and the extraction dialog, the support of Windows XP visual styles and additional graphics and texts to tell unexperienced users what to do with the SFX archive.
#48
Posted 13 December 2007 - 07:07 AM
dll32 said:
The problem is that the icon gets replaced to the boring "white rectangle".
Is this a bug with 7zSD?
If it's a known bug, is there any way to prevent it?
I made some experiments and found that it is not a bug of the module.
I found a description of such problems for Inno Setup. Read this
I do not know how to solve this problem
#49
Posted 23 December 2007 - 04:55 PM
Oleg_Sch, on Dec 13 2007, 02:07 PM, said:
dll32 said:
The problem is that the icon gets replaced to the boring "white rectangle".
Is this a bug with 7zSD?
If it's a known bug, is there any way to prevent it?
I made some experiments and found that it is not a bug of the module.
I found a description of such problems for Inno Setup. Read this
I do not know how to solve this problem
Thanks for the clarification and thanks for trying, now I at least know what's causing it.
By the way...
I just got an idea, i might just put the installer within another installer, that extract the installer silently and then executes it.
// dLL32
#50
Posted 25 December 2007 - 04:57 AM
Your module is under GNU LGPL but i don't find the sources code on the douwload page. Can you give me the link please ?
THANKS
#51
Posted 25 December 2007 - 03:02 PM
Sorry, but now i'm too busy
#53
Posted 01 January 2008 - 09:32 AM
To add a language file to some apps, i'm using the following AutoIt script to check the "HKCU\Control Panel\International\sLanguage" registry value, if it equal to "FRA" the i copy/run my language file.
$Lang = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sLanguage")
If $Lang = "FRA" Then
RunWait("HS62001_LangFR.exe")
EndIf
The size of that compiled autoit script file is about 200K.To downsize the final archive file, i have to translate the above .au3 file to a .cmd file.
Anyone can help writing that .cmd script?
Regards
coucou
#54
Posted 01 January 2008 - 02:55 PM
coucou, on Jan 1 2008, 07:32 AM, said:
$Lang = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sLanguage")
If $Lang = "FRA" Then
RunWait("HS62001_LangFR.exe")
EndIf
The size of that compiled autoit script file is about 200K.To downsize the final archive file, i have to translate the above .au3 file to a .cmd file.
Anyone can help writing that .cmd script?
Try:
FOR /F "tokens=2*" %%a in ('REG QUERY "HKCU\Control Panel\International" /v sLanguage') DO @(SET Lang=%%b)
IF "%Lang%"=="FRA" START /WAIT HS62001_LangFR.exe
SET Lang=
#55
Posted 01 January 2008 - 03:20 PM
@reg query "hkcu\control panel\international" /v slanguage|find "FRA">nul 2>&1&&start "" /wait hs62001_langfr.exeAll the above is one line!
Also if you were to use program to hide the console window then you could shorten it a little too.
reg query "hkcu\control panel\international" /v slanguage|find "FRA"&&start "" /wait hs62001_langfr.exeAll the above is one line again!
#56
Posted 01 January 2008 - 06:32 PM
@FOR /F "tokens=3 skip=4" %%a IN ('REG QUERY "HKCU\Control Panel\International" /v sLanguage') DO @IF "%%a"=="FRA" START /WAIT HS62001_LangFR.exe
Yzöwl's example of piping through FIND is still slightly shorter than this, though. Where using FOR rather than FIND might be shorter and more straightforward is if you were testing for more than one condition. For a three-language example:
@FOR /F "tokens=3 skip=4" %%a IN ('REG QUERY "HKCU\Control Panel\International" /v sLanguage') DO @IF "%%a"=="FRA" (START /WAIT HS62001_LangFR.exe) ELSE IF "%%a"=="DEU" (START /WAIT HS62001_LangDE.exe) ELSE IF "%%a"=="ENU" (START /WAIT HS62001_LangEN.exe)
It's probably good to know both techniques; still, Yzöwl's method is shortest for the specific need expressed by coucou!
#57
Posted 01 January 2008 - 07:54 PM
It would be nice to have a little snippet of info in the OPs post. Maybe a screenshot too if appropriate.
#58
Posted 01 January 2008 - 11:19 PM
brucevangeorge, on Jan 2 2008, 01:54 AM, said:
It would be nice to have a little snippet of info in the OPs post. Maybe a screenshot too if appropriate.
If you've already got the module it has a reasonably good help file with it giving switches, options and usage examples etc.
#59
Posted 02 January 2008 - 02:25 AM
Happy New 2008
coucou
#60
Posted 07 January 2008 - 05:46 PM
- ← How Avira Free antivirus program with Silent install updates
- Application Installs
- AutoIT Script Collection - Contributions Only →



Help

Back to top









