- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- Work with Command Events at Build Time
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Work with Command Events at Build Time
Work with Command Events at Build Time
Summary
Work with Command Events at Build Time
Synopsis
Discussion
The Windows command-line tools are used to perform various tasks related to the Windows operating system. An internal command is expected to be executed from the shell. Internal commands need to be "shelled out". An external command is expected to exist within an executable file on the client. For example, the COPY command is expected to be internal, while the XCOPY command is external.
The Events Tab on a release includes Prebuild, Precompression and Postbuild events. If it is possible to run a command from Start-Run it is expected the command can be included in the build process as an event.
Related Documents
Specifying Commands that Run Before, During, and After Builds
Events Tab for a Release
Additional Information
The operating system Windows XP includes a help file ntcmds.chm. This file is expected to include details of some commands and their many switches. On an XP client use Start - Run:
hh ntcmds.chm
- Mark as Read
- Mark as New
- Permalink
- Report Inappropriate Content
Most of my commands are working with the exception of rename. Any suggestions on using this command?
I am running commands to zip the package (working)
Then copy the contents of the Program Files to another folder (working)
I then need to rename some of the config files in the new folder. None of these commands are working. (Broken)
Sample:
Ren "D:\BUILDS\application\Copy Install\file folder\file.exe.config" "file.exe.SAMPLE.config"
Finally I zip up the copied folder (working)