You need to write a batch processing file for batch execution of VC and installshiel projects, instead of opening the IDE interface for compilation every time.
The following is a summary:
1: Batch Commands used
@
Echo off
Goto
Pause
If else
And so on
Nested if else statements
Solution:
If-else must be in the same row. If the statement is not long and must be written by a branch, connect the else statement with ^; otherwise, an error is returned !, At the same time, after the if condition is met
The statement is enclosed in parentheses and the syntax is
If condition (action that meets the condition) else (action that does not meet the condition)
2: Use of Environment Variables
Errorlevel can be used in if-Equal to or greaterIf the value is specified, the execution is performed.
E. g:
If errorlevel 0...
If the error code valueGreater than or equalWhen the value is 0, an operation is executed;
When using if % errorlevel % = 0 ...... The meaning of the sentence is:
If the error code value is 0, an operation is performed. Because of the difference between the two sentence types
The order of the error code statements is from large to small.
3: In addition, the execution paths of vc6 and installshiled should be added to the system environment variable path.
4: VC command line compilation:
Msdev D:/path/sample. DSW/make "Sample-Win32 release"/rebuild/out C:/logpile. txt
For details, see http://msdn.microsoft.com/en-us/library/aa699274 (vs.60). aspx
5: InstallShield command line compiling C:/program files/InstallShield/2009/system/iscmdbld.exe "-P" D:/path/sample. ism "-B" D:/installations_2009/sample/Media/release"
For details about the parameters, see the iscmdbld.exe topic.