Jump to content

Recommended Posts

Posted

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"

or

RunProgram="hidcon:cmd /c COPY /Y %%T\test.txt \"%%S\test.txt\""


Posted

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\

Posted
RunProgram="hidcon:cmd /c COPY /Y %%T\test.txt %%S\test.txt"

or

RunProgram="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\""
OR
RunProgram="hidcon:cmd /c COPY /Y \"test.txt\" \"%%S\\test.txt\""
OR
RunProgram="hidcon:cmd /c COPY /Y test.txt \"%%S\\test.txt\""

What version of the module?

  • 2 weeks later...
Posted

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:\test

I want: C:\test\sfx.exe

Is there any way to do it ?

Thanks.

Posted
Is there any way to do it ?

C:\test\sfx.exe = %%S\\%%M

It 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 :)

  • 4 weeks later...
Posted

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.

Posted

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.

Posted

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.

Posted

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"

Posted

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"

Posted (edited)

WHAAAAAT!!!

I couldn't find that in the manual anywhere...

Read Russian help.

Learn Russian! :yes:

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.

x86

Launch 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 by gora

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...