Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can make IExpress put files into subdirectories using <a href="https://msdn.microsoft.com/en-us/library/windows/hardware/ff553615(v=vs.85).aspx#creating_a_command_line_script" rel="nofollow">a technique described by Microsoft</a>. In your <em>install program</em>, you’d need to do something similar to:</p> <pre><code>@md i386 @xcopy /q /y toastva.exe i386\. @xcopy /q /y tostrcls.dll i386\. @xcopy /q /y tostrco2.dll i386\. @xcopy /q /y toaster.sys i386\. </code></pre> <p>(You could use <code>move /y</code> instead of <code>xcopy</code>, if that’s what you wanted to do.)</p> <p>This is due to a technical limitation in the way IExpress generates its CAB file. IExpress generates a DDF file which is read by <code>makecab.exe</code>; this file places all source files in the same destination folder. Thus each source file must have a unique name, regardless of its source directory.</p> <p>While <code>makecab.exe</code> itself supports subdirectories, the input DDF file is generated on-the-fly by IExpress, so it would be difficult (if not impossible) to intercept it and make changes before <code>makecab.exe</code> reads it.</p> <hr> <p>But honestly, if you need subdirectories (and sub-subdirectories…) then you might want to consider using a "real" installer maker. Some examples in no particular order:</p> <ul> <li><a href="http://www.jrsoftware.org/isinfo.php" rel="nofollow">Inno Setup</a></li> <li><a href="http://nsis.sourceforge.net/" rel="nofollow">NSIS</a></li> <li><a href="http://wixtoolset.org/" rel="nofollow">WiX</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload