PDA

View Full Version : Build Automation Using Powershell



Roman1
11-06-2013, 04:10 AM
Hello,
I use PS1 script to build my setups.
The main Build function is:
<# Build Release 1 #>
$m_ISWiProj.ISWiProductConfigs.Item("Product Configuration 1").ISWiReleases.Item("Release 1").Build()

It works properly. Setup is built correct.

But, the Powershell Window does not show any status command during build proccess.
Is there any possibility to catch compile/build messages/IS-Build-Events and show them in PS-Window?

Any help would be appreciate!

MichaelU
11-06-2013, 11:04 AM
You may be able to subscribe to the build status events; see Using Build Status Events (http://helpnet.flexerasoftware.com/installshield20helplib/Content/helplibrary/AutomationBuildStatEv.htm) and the bottom of ISWiRelease Object (http://helpnet.flexerasoftware.com/installshield20helplib/Content/helplibrary/IHelpAutoISWiRelease.htm) for information on doing this in VB.

Roman1
11-07-2013, 05:00 AM
Hello,
this sample is only for VB. Not for Powershell ...