Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
swdev:zip:self-extracting_zip_files [2018/06/13 15:52]
smayr [Setup your config.txt]
swdev:zip:self-extracting_zip_files [2018/06/13 15:55] (current)
smayr [Create the archive]
Line 16: Line 16:
   # Copy the file ''7zS.sfx'' to ''C:\Install''.   # Copy the file ''7zS.sfx'' to ''C:\Install''.
  
-== Setup your config.txt ==+== Setup config.txt ==
 Created file ''C:\Install\config.txt'' with UTF-8 encoding. Created file ''C:\Install\config.txt'' with UTF-8 encoding.
 <code bash> <code bash>
Line 22: Line 22:
 Title="MYAPP v1.0.0.0" Title="MYAPP v1.0.0.0"
 BeginPrompt="Do you want to install MYAPP v1.0.0.0?" BeginPrompt="Do you want to install MYAPP v1.0.0.0?"
-RunProgram="mydir/setup.exe"+RunProgram=".\\myappdir\\setup.exe"
 ;!@InstallEnd@! ;!@InstallEnd@!
 </code> </code>
Line 30: Line 30:
 See SFX parameters and options for the setup file: [[http://sevenzip.osdn.jp/chm/cmdline/switches/sfx.htm|-sfx (Create SFX archive) switch]] and [[http://tools.oszone.ru/7zsfx/en/|SFX parameters and examples]]. See SFX parameters and options for the setup file: [[http://sevenzip.osdn.jp/chm/cmdline/switches/sfx.htm|-sfx (Create SFX archive) switch]] and [[http://tools.oszone.ru/7zsfx/en/|SFX parameters and examples]].
  
-== CheckPoint == 
-You should now have a folder ''C:\Install'' with the following 3 files: 
- 
-  # Installer.7z 
-  # 7zS.sfx 
-  # config.txt 
  
 == Create the archive == == Create the archive ==
 +You should now have a folder ''C:\Install'' with the following 3 files:
 +  * ''Installer.7z''
 +  * ''7zS.sfx''
 +  * ''config.txt''
 +
 Run in command line to create the target file ''MyInstaller.exe'': Run in command line to create the target file ''MyInstaller.exe'':
 <code bash> <code bash>