문제

I want to create an exe file which includes mysql.msi and java.zip. I have written vbscript to install mysql and extract java file in C: drive. It works fine.

Now my problem is:

Convert the source folder as exe by using WinRAR sfx option.

How can I execute the vbscript or bat file (for executing vbscript) when I click the created exe?

Has anybody a solution?

도움이 되었습니까?

해결책

SFX commands: Setup i.e., Setup = <program>

SFX will try to execute after successful extraction. The folder containing extracted files is set as the current before executing . If a program name contains spaces, it must be enclosed in quotes.

Example

Setup = setup.exe

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top