# Win32ole and installshield automation

**URL:** <https://www.ruby-forum.com/t/win32ole-and-installshield-automation/84573>\
**Category:** Ruby\
**Created:** [February 6, 2007, 1:55am UTC](https://www.ruby-forum.com/t/win32ole-and-installshield-automation/84573 "2007-02-06T01:55:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [February 6, 2007, 1:55am UTC](https://www.ruby-forum.com/t/win32ole-and-installshield-automation/84573/1 "2007-02-06T01:55:40Z")

</div>

I’m trying to use win32ole to automate some builds in Installshield  
using ISWiAuto11.ISWiProject. Everything seems to work fine except at  
this line:

project = WIN32OLE.new(‘ISWiAuto11.ISWiProject’)

The problem is Installshield opens a dialog before new returns. The  
equivalent call in VBScript, CreateObject(“ISWiAuto11.ISWiProject”),  
doesn’t open any dialog before returning.

Any experience with this problem and how to fix it? Thanks!

Greg

---

<div class="post-metadata">

**Author:** ![greg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/71c47a/32.png) [@greg](https://www.ruby-forum.com/u/greg)\
**Post date:** [February 6, 2007, 2:20am UTC](https://www.ruby-forum.com/t/win32ole-and-installshield-automation/84573/2 "2007-02-06T02:20:41Z")

</div>

On Feb 5, 4:53 pm, “Greg” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Any experience with this problem and how to fix it? Thanks!
> 
> Greg

Nevermind, apparently my Installshield installation was trying to tell  
me something…

Greg
