ricpersi Posted March 5, 2014 Share Posted March 5, 2014 Hi all, I was wondering if it's possible to add a config option to enable the unattended installation without the need of passing "-y" as a command line argument.Thanks a lot in advance Link to comment Share on other sites More sharing options...
ricktendo Posted March 5, 2014 Share Posted March 5, 2014 Hi all, I was wondering if it's possible to add a config option to enable the unattended installation without the need of passing "-y" as a command line argument.Thanks a lot in advanceGUIMode="2" Link to comment Share on other sites More sharing options...
ricpersi Posted March 5, 2014 Share Posted March 5, 2014 Hi all, I was wondering if it's possible to add a config option to enable the unattended installation without the need of passing "-y" as a command line argument.Thanks a lot in advanceGUIMode="2"hi ricktendo, sorry I forgot to say that I'd like to have the progress bar displayed while unpacking. Thanks a lot for your help. Link to comment Share on other sites More sharing options...
ricpersi Posted March 7, 2014 Share Posted March 7, 2014 Hi all, I'm trying to compile 7zsfx from sources but I'm getting an error. Han anyone compiled it succesfully before? Do you know how I can solve the following linking error?------ Build started: Project: 7zSfxMod, Configuration: All Win32 ------Linking...LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignoredAES.obj : error LNK2019: unresolved external symbol @AesCtr_Code_Intel@12 referenced in function _AesGenTablesAES.obj : error LNK2019: unresolved external symbol @AesCbc_Decode_Intel@12 referenced in function _AesGenTablesAES.obj : error LNK2019: unresolved external symbol @AesCbc_Encode_Intel@12 referenced in function _AesGenTables..\Output\Win32\7zsd_All.sfx : fatal error LNK1120: 3 unresolved externalsBuild log was saved at "file://c:\temp\7zsd_src_160_2712\Intermediate\Win32\All\BuildLog.htm"7zSfxMod - 4 error(s), 1 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I'm using VS2008 with latest Microsoft sdk. Thanks a lot for your help.Regards, Riccardo Link to comment Share on other sites More sharing options...
zorro1 Posted April 28, 2014 Share Posted April 28, 2014 Hellohow to modify or add pitcure in 7zsd_lzma_dialogs.sfx ?i want to add my or replace original image in sfx to my install. thanks Link to comment Share on other sites More sharing options...
ricktendo Posted April 28, 2014 Share Posted April 28, 2014 Use a resource hacker, I do the same with my .net slim installer, I add a new bmp and edit the layout so it looks like this Link to comment Share on other sites More sharing options...
zorro1 Posted April 30, 2014 Share Posted April 30, 2014 @rickendoi try with resource hacker, but i can't modify ressource IMAGES 3001How to ?thanks Link to comment Share on other sites More sharing options...
madserb Posted June 12, 2014 Share Posted June 12, 2014 Hi,I have been using the modified 7zsfx for a while now and have come across a problemI am re-compressing some of my old dos games and running them using dosbox. I have a problem with config.txt for every one of them.When compiled to an SFX exe it will fail when it detects the ( " ) symbols. These are necessary for the shortcut to workThe original version install shortcuts with them in but when I duplicate them using my own config script it fails at line 13Here is an example of my config.txt:;!@Install@!UTF-8!Title="Redneck Rampage"BeginPrompt="\nPack Includes:\n\nRedneck Rampage\nCuss Pack\nManual and Cheats"CancelPrompt="Are you sure you want to cancel ?"GUIFlags="4+8+16+32+64+256+2048+4096"GUIMode="1"OverwriteMode="0"InstallPath="%ProgramFiles%\Redneck Rampage"ExtractPathText="Choose your \"Redneck Rampage\" installation folder..."ExtractPathTitle="Redneck Rampage"ExtractCancelText="Abort"Shortcut="Du,{%%T\\Redneck Rampage Manual.pdf},{},{Redneck Rampage},{Redneck Rampage Manual},{Manual},{%%T},{},{}"Shortcut="Du,{%%T\\DOSBox.exe},{-conf "dosboxRR.conf" -conf "dosboxRR_single.conf" -noconsole -c exit},{Redneck Rampage},{Game},{Redneck Rampage},{%%T},{%%T/RR.ico},{}"RunProgram="\"%%T\\unpack.bat\"";!@InstallEnd@!This is the original working shortcut I wish to re-create:"%ProgramFiles%\DOSBox.exe" -conf "Redneck Rampage\dosboxRR.conf" -conf "dosboxRR_single.conf" -noconsole -c exitHow can I include the " in the line without it failing at line 13?I would really appreciate someones helpThanks Link to comment Share on other sites More sharing options...
bphlpt Posted June 12, 2014 Share Posted June 12, 2014 I'm not sure, but don't you just have to "escape" the inner quotes (") with a backslash like this -- \" -- like they are on line 14? Cheers and Regards Link to comment Share on other sites More sharing options...
gora Posted June 12, 2014 Share Posted June 12, 2014 ;!@Install@!UTF-8!Title="Redneck Rampage"BeginPrompt="\nPack Includes:\n\nRedneck Rampage\nCuss Pack\nManual and Cheats"CancelPrompt="Are you sure you want to cancel ?"GUIFlags="4+8+16+32+64+256+2048+4096"GUIMode="1"OverwriteMode="0"InstallPath="%ProgramFiles%\\Redneck Rampage"ExtractPathText="Choose your \"Redneck Rampage\" installation folder..."ExtractPathTitle="Redneck Rampage"ExtractCancelText="Abort"Shortcut="Du,{%%T\\Redneck Rampage Manual.pdf},{},{Redneck Rampage},{Redneck Rampage Manual},{Manual},{%%T},{},{}"Shortcut="Du,{%%T\\DOSBox.exe},{-conf \"dosboxRR.conf\" -conf \"dosboxRR_single.conf\" -noconsole -c exit},{Redneck Rampage},{Game},{Redneck Rampage},{%%T},{%%T\\RR.ico},{}"RunProgram="unpack.bat";!@InstallEnd@! Link to comment Share on other sites More sharing options...
bphlpt Posted June 12, 2014 Share Posted June 12, 2014 I was close. Cheers and Regards Link to comment Share on other sites More sharing options...
madserb Posted June 13, 2014 Share Posted June 13, 2014 Many thanks...as easy as that!!! Link to comment Share on other sites More sharing options...
Forseti Posted July 25, 2014 Share Posted July 25, 2014 xcopy does not create directory structure!;!@Install@!UTF-8!RunProgram="Setup_%%P.msi /qr"RunProgram="hidcon:xcopy config.xml \"%appdata%\Mythicsoft\FileLocatorPro\config\" /s /y"GUIMode="2";!@InstallEnd@!C:\Users\Forseti\AppData\Roaming\Mythicsoft\FileLocatorPro\configplease help! Link to comment Share on other sites More sharing options...
gora Posted July 25, 2014 Share Posted July 25, 2014 xCopy /? Link to comment Share on other sites More sharing options...
nova-s Posted August 7, 2014 Share Posted August 7, 2014 (edited) hi, only on 64bit i have a problem with a 1 line .bat script running from/under sfx (as admin)i'm using 7zsd.sfx version 1.6 1.5 (stable build 2712), it works fine on 32bitthe .bat itself also works fine on 64bit if i start it directly as admin - from %temp% or whereever:echo onattrib -s -h -r %SYSTEMROOT%\system32\drivers\etc\hostspausebut when i run it from an sfx archive (as admin) it ALWAYS results inPath not found - C:\Windows\system32\drivers\etci have tried many things (also in combination, all working if started directly):attrib -s -h -r c:\windows\system32\drivers\etc\hostsattrib -s -h -r %SYSTEMROOT%\sysnative\drivers\etc\hostsattrib -s -h -r %SYSTEMROOT%\system32\..\system32\drivers\etc\hostscd /d %SYSTEMROOT%\system32\drivers\etcattrib -s -h -r hostsi have also tried an attrib.exe copied from a 32bit version - samein sysinternals' process monitor then i saw that attrib.exe was searching inC:\Windows\SysWOW64\drivers\etcwhich is definetely wrong. how is this possible? EDIT: a similar problem occures if i use the variable %programfiles% on 64bit - it resolves toC:\Program Files (x86)but here i can use the simple workaround"%programfiles%\..\Program Files\whatever" Edited August 7, 2014 by nova-s 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