Wise Pops up in Silent Mode

Hi
I am using the “Wise Install Project” action, Wise installer version 9.x, Silent Mode is checked. But still I the build stops and displays the message :
The compiler bariable Wise does not point to the c:\program files wise Installation system directory. Do you want to set wise to the new location?
This message appears when wise is installed on a different drive on the machine where I write the wise scripts (I have to move it because of Lack of space). than on the Build machine. This causes the build to stop. Can you prevent this, and enable the build to go on (with a yes answer)? .
FB version is 4.1.0.228
Thanks Daphna Levin

Unfortunately there is nothing we can do about this, it’s a longstanding wise problem. Several of our customers have reported this issue to them in the past, however as far as I’m aware nothing was ever done about it.


Daphna,

you may want to create a small autohotkey script which does this for you.
Have a look at http://www.autohotkey.com/

thanks for the idea. can u help , what do I have to do in order to autoanswer " yes" to this popup?

Daphna

In short:
- Download and install
- Run AutoScriptWriter (recorder)
- Wait for the Wise windows to appear
- Click record
o click on the Wise window
o enter Yes or click on ok (or what ever might be required)
- Stop recording
- Save script

You should now have a script which will detect the window and enter some input.
Add a loop command around the code. This may look like this:

Loop
{
WinWait,
IfWinNotActive, , WinActivate,
WinWaitActive,
Send, {ENTER}
}

For more details read the online documentation.

Save this script. Compile it to an executable with "Convert .ahk to .exe"
Run this exe as part of your FB script. I do a Window Exist action for AutoHotKey and wrap this in a try/catch to avoid running multiple instances.


HTH