This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Bugreport: issuite-automation, Release.PostBuildEvent sets PreBuildEvent instead
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 21, 2019
06:07 AM
Bugreport: issuite-automation, Release.PostBuildEvent sets PreBuildEvent instead
because i don't have/want a maintenance plan i'm posting this issue here:
i'm using ISWiAutoSuite24.ISWiSuiteRelease automation object in vbs to build issuite on CI
trying to set the "PostBuildEvent"Property lead to the result that "PreBuildEvent" was set instead
(PreBuildEvent also sets PreBuildEvent)
i did not test it with ISWiAuto24.ISWiRelease object but it should be worth a look
ciao Ralf
i'm using ISWiAutoSuite24.ISWiSuiteRelease automation object in vbs to build issuite on CI
trying to set the "PostBuildEvent"Property lead to the result that "PreBuildEvent" was set instead
(PreBuildEvent also sets PreBuildEvent)
i did not test it with ISWiAuto24.ISWiRelease object but it should be worth a look
ciao Ralf
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 21, 2019
07:49 AM
Ralf Jänike wrote:
because i don't have/want a maintenance plan i'm posting this issue here:
i'm using ISWiAutoSuite24.ISWiSuiteRelease automation object in vbs to build issuite on CI
trying to set the "PostBuildEvent"Property lead to the result that "PreBuildEvent" was set instead
(PreBuildEvent also sets PreBuildEvent)
i did not test it with ISWiAuto24.ISWiRelease object but it should be worth a look
ciao Ralf
Hi,
Since it is direct read-write property,expectation is to work.To get more insights can you please post the script here?
Thanks,
Jenifer
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 21, 2019
08:49 AM
Jenifer wrote:
Hi,
Since it is direct read-write property,expectation is to work.To get more insights can you please post the script here?
Thanks,
Jenifer
save this as .vbs file and run with csxript.exe(342bit)
Set oISM = WScript.CreateObject("ISWiAutoSuite24.ISWiProject") 'instantiate suite-object
oISM.OpenProject ".\projectFile.issuite", True 'open issuite-file with readonly=true
set oRelease = oISM.ISWiSuiteReleases("Release") 'instantiate suite-release object
oRelease.ProductVersionOverride = "1.0.0"
oRelease.ProductNameOverride="my cool productname"
oRelease.SetupFileName = "my-cool-setup" 'resulting file has no .exe extension, allthough documentation states ".exe" is concatted automtatically
oRelease.PostBuildEvent = "cmd /c xcopy /dcy ""\ \ \Diskimages\Disk1\*.*"" ""c:\outpath\""" 'this will set PreBuildEvent, not PostbuildEvent
oISM.SaveProject 'save file works allthough readonly argument on OpenProject is set
oRelease.Build 'build throws ISDEV : fatal error -5047 as long as project is opened with non fully qualified path
oISM.CloseProject
ciao Ralf
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2019
08:11 AM
it has been more than 4 months since this report, and the required reply
what's the status on that?
Ralf
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 20, 2019
08:38 AM
Hi @RalfJaenike ,
It has been identified as bug and had been fixed as part of InstallShield 2019.
Reference issue number:IOJ-1921509
Thanks,
Jenifer