sweept Posted October 23, 2010 Posted October 23, 2010 hello Oleg_Sch I'm glad you noticed this post, here is an example illustration: using some "SFX.exe" that contains some "test.txt":RunProgram="hidcon:cmd /c COPY /Y %%T\test.txt %%S\test.txt"orRunProgram="hidcon:cmd /c COPY /Y %%T\test.txt \"%%S\test.txt\""
sweept Posted October 23, 2010 Posted October 23, 2010 on a path that contains no spaces as C:\SFX.exe then will copy the extracted file from "%%T\test.txt" back to "c:\test.txt"(SFX DIR)but if the SFX.exe runs for example from "C:\Documents and Settings\MyUserName\Desktop" which is a path name that contains spaces..then %%T\test.txt fails the copy task back to the %%S\
gora Posted October 23, 2010 Posted October 23, 2010 RunProgram="hidcon:cmd /c COPY /Y %%T\test.txt %%S\test.txt"orRunProgram="hidcon:cmd /c COPY /Y %%T\test.txt \"%%S\test.txt\""Correctly so:RunProgram="hidcon:cmd /c COPY /Y \"%%T\\test.txt\" \"%%S\\test.txt\""ORRunProgram="hidcon:cmd /c COPY /Y \"test.txt\" \"%%S\\test.txt\""ORRunProgram="hidcon:cmd /c COPY /Y test.txt \"%%S\\test.txt\""What version of the module?
jey350 Posted November 5, 2010 Posted November 5, 2010 Hello, I need to pass the full path of SFX file as argument to another program I run.%%S give the path to SFX file, I need to get a little more with the full location of SFX file.Details:SFX file location: C:\test\sfx.exe%%S gives: C:\testI want: C:\test\sfx.exeIs there any way to do it ?Thanks.
gora Posted November 5, 2010 Posted November 5, 2010 Is there any way to do it ?C:\test\sfx.exe = %%S\\%%M
jey350 Posted November 5, 2010 Posted November 5, 2010 Is there any way to do it ?C:\test\sfx.exe = %%S\\%%MIt works like a charm.I didn't find it because it is in the russian doc and since version 1.3 available on russian download link.Thanks a lot
visegrip Posted November 29, 2010 Posted November 29, 2010 Any possibility to get a direct download link to the latest alpha version of the module(x86) posted here?I think its build 1942.I can't get it from the link posted in the Ozone forum.
visegrip Posted November 29, 2010 Posted November 29, 2010 gora, thanks for the 1.4.0 release. I will use that.For some reason I can't get the 1.5.0 version from the svn page.Not a major issue, so no worries.
Oleg_Sch Posted November 29, 2010 Author Posted November 29, 2010 For some reason I can't get the 1.5.0 version from the svn page.Use tags folder in repository to list all of the commited versions.
visegrip Posted November 29, 2010 Posted November 29, 2010 Oleg_Sch,Thanks for your reply.A month or more ago I could download from the svn for the latest builds.But lately, I have been having trouble.This is probably a problem on my end that I will need to fix somehow.I will use the 1.4.0.1942 build.Thanks again for your great work on this.
Kelsenellenelvian Posted December 1, 2010 Posted December 1, 2010 I have a feature request:I want to make a sfx installer that contians BOTH x86 and x64 installers contained in it. HOWEVER I want it to be switchless so I am requesting an architecture detection feature.i.e."if x64 runprogram=blah.64.exe /s""if x32 runprogram=blah.32.exe /s"
gora Posted December 1, 2010 Posted December 1, 2010 HOWEVER I want it to be switchless so I am requesting an architecture detection feature.RunProgram="x64:blah.64.exe /s"RunProgram="x86:blah.32.exe /s"
Kelsenellenelvian Posted December 1, 2010 Posted December 1, 2010 WHAAAAAT!!!I couldn't find that in the manual anywhere...
gora Posted December 1, 2010 Posted December 1, 2010 (edited) WHAAAAAT!!!I couldn't find that in the manual anywhere...Read Russian help.Learn Russian! Google translated:Prefixes:x64 Launch command will be executed only in 64-bit system. At the same time running a program specified in the parameter will be processed in 64-bit environment, regardless of the bit of the module (x64 or x86).When running in 32-bit system command is ignored and the program specified in the parameter will not be executed.x86Launch command will be executed only in 32-bit system. When you run in 64-bit system command is ignored and the program specified in the parameter will not be executed. Edited December 1, 2010 by gora
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