Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 05-29-2009, 10:41 AM
olegkon olegkon is online now
Registered User
 
Join Date: 05-26-2009
Posts: 3
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.
Reply With Quote
  #2  
Old 05-30-2009, 11:48 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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.
Attached Files
File Type: zip test.zip (693 Bytes, 1567 views)
Reply With Quote
  #3  
Old 06-01-2009, 09:32 AM
olegkon olegkon is online now
Registered User
 
Join Date: 05-26-2009
Posts: 3
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.
Reply With Quote
  #4  
Old 06-01-2009, 10:02 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:02 PM.


Copyright © 1999-2023 Kinook Software, Inc.