Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Can't execute Wise Script (https://www.kinook.com/Forum/showthread.php?t=4040)

olegkon 05-29-2009 10:41 AM

Can't execute Wise Script
 
Hi,

I am evaluating Visual Build Pro.

Trying to check how it works with Wise Scripts.
Calling a script which definitely works fine from WiseScript Package Editor.

5/29/2009 11:26:50 AM: --------------------Starting Build: 'BuildExe.bld'--------------------
5/29/2009 11:26:50 AM: Building project step 1 - Project steps...
5/29/2009 11:26:50 AM: Building project step 3 - Wise Setup...
C:\PROGRA~1\Altiris\Wise\WISESC~1\Wise32.exe /c C:\work\WiseScript\filecopy.wse /s
5/29/2009 11:26:54 AM: Build successfully completed.

Seems to run OK (see above), and it does start WiseScript Package Editor, I click "Evaluate", but the script itself it not getting executed.
It's pretty simple, supposed to create a directory, copy few files there and display the message that is done.
None of that happens.

I do not pass any parameters to the WiseScript, plain vanilla call.

Any idea what might be wrong ?

Using an evaluation versions of both Wise Installation Studio 7.0 and VBP 7.1 on Win XP SP3.

Please help !

This integration is critical in our VBP evaluation.

Thank you,
Oleg.

kinook 05-30-2009 11:48 AM

1 Attachment(s)
Testing with Wise Package Studio 7.0 SP3 (Evaluation) on Win XP SP3 and the attached test.wse file, creating and building a Wise step in VBP 7.1 for test.wse produces the expected test.EXE installer executable.

Note that the VBP Wise action calls Wise to compile the Wise script to an EXE, not run the installation executable that Wise creates when compiling a script. You could also run the compiled installer from VBP with a Run Program action, as long as the installer exe itself can run silently.

olegkon 06-01-2009 09:32 AM

your test
 
OK, I tried to call your test.wse from my test.bld script,
it seems to execute:
6/1/2009 9:44:57 AM: --------------------Starting Build: 'WiseTest1.bld'--------------------
6/1/2009 9:44:57 AM: Building project step 1 - Project steps...
6/1/2009 9:44:57 AM: Building project step 2 - Call WiseScript Test...
6/1/2009 9:45:00 AM: Build successfully completed.

But I do not see any install.log created.
In which directory is it suppose to appear, where test.wse
or my WiseTest1.bld which calls test.wse?
It's not there.

kinook 06-01-2009 10:02 AM

Again, the Wise action in VBP calls the Wise command-line tool to compile the Wise script into an executable (test.wse -> test.exe in this case). It doesn't run the compiled executable installer.
http://www.kinook.com/VisBuildPro/Manual/wisesetup.htm

If you want to actually run the installer that was compiled, use a Run Program action and specify the full path and filename of of the compiled installer executable (i.e., c:\path\to\test.exe).
http://www.kinook.com/VisBuildPro/Ma...gramaction.htm


All times are GMT -5. The time now is 11:03 PM.


Copyright © 1999-2023 Kinook Software, Inc.