InstallShield站点Copy下来的:HOWTO: Invoke DOS Commands from a Custom Action
Document ID:Q104399 This article applies to the following: 
Product: InstallShield for Windows Installer - All Versions
Last Revised On: 12/14/2000Summary
To create a Custom Action which will invoke DOS commands (copy,move,deltree,? --------------------------------------------------------------------------------
Discussion
Go to Actions/Scripts, right-click on Custom Actions, and select Custom Action Wizard. Type: Launch an executable Location: Stored in the Directory Table If the target machine runs Windows 98 or WinNT: 
Source: SystemFolder 
Target: cmd /c "copy "[SOURCEDIR]path relative to disk 1.exe" PathToCopyTo" If the target machine runs Windows 95: 
Source: WindowsFolder 
Target: command.com /c "copy "[SOURCEDIR]path relative to disk 1.exe" PathToCopyTo"

解决方案 »

  1.   

    InstallShield站点Copy下来的:HOWTO: Invoke DOS Commands from a Custom Action
    Document ID:Q104399 This article applies to the following: 
    Product: InstallShield for Windows Installer - All Versions
    Last Revised On: 12/14/2000Summary
    To create a Custom Action which will invoke DOS commands (copy,move,deltree,? --------------------------------------------------------------------------------
    Discussion
    Go to Actions/Scripts, right-click on Custom Actions, and select Custom Action Wizard. Type: Launch an executable Location: Stored in the Directory Table If the target machine runs Windows 98 or WinNT: 
    Source: SystemFolder 
    Target: cmd /c "copy "[SOURCEDIR]path relative to disk 1.exe" PathToCopyTo" If the target machine runs Windows 95: 
    Source: WindowsFolder 
    Target: command.com /c "copy "[SOURCEDIR]path relative to disk 1.exe" PathToCopyTo"
      

  2.   

    LaunchApp  和  LaunchAppWait可以执行,在帮助里可以找到详细说明!另外,调用WinApi也可以!