Search found 7 matches

Go to advanced search

by jidjan
Tue Jul 29, 2008 4:48 pm
Forum: Common Problems
Topic: Return Codes in VBScript
Replies: 10
Views: 32601
 
Jump to post

Re: Return Codes in VBScript

Hi Cosmin,

Actually I have three conditions and what I did is simlar to what you did. With this my msi seems to work now. Thank you Anthrax for posting this, clemens for showing us the link, and to you cosmin.


Regards,
Jeffrey
by jidjan
Tue Jul 29, 2008 3:30 pm
Forum: Common Problems
Topic: Return Codes in VBScript
Replies: 10
Views: 32601
 
Jump to post

Re: Return Codes in VBScript

Hi,

I think I figured it out.

Thanks,
Jeffrey
by jidjan
Tue Jul 29, 2008 2:54 pm
Forum: Common Problems
Topic: Return Codes in VBScript
Replies: 10
Views: 32601
 
Jump to post

Re: Return Codes in VBScript

Hi Cosmin,

I am not really a scripting guy and this is what I am trying to do. My test.vbs runs a batch file and that batch files creates a log file. On the log file there is a line "Return value = XX". Now, after my test.vbs runs batch files, I took the XX from the log file. How am I going to use ...
by jidjan
Tue Jul 29, 2008 12:54 pm
Forum: Common Problems
Topic: Return Codes in VBScript
Replies: 10
Views: 32601
 
Jump to post

Re: Return Codes in VBScript

Hi Cosmin,

I think I am misqouted, what I mean is, on the sample script from the link how did he apply Anthrax apply it on the script as an alternative to the wscript.quit. Any help is really appreciated.

Thanks,
Jeffrey
by jidjan
Tue Jul 29, 2008 6:06 am
Forum: Common Problems
Topic: Return Codes in VBScript
Replies: 10
Views: 32601
 
Jump to post

Re: Return Codes in VBScript

Anthrax wrote:That is exactly what i need.
Thank you very much.

Anthrax
Hi Anthrax,

The link on Clemens reply, did it work for you? I am having similar problem with the wscript.quit, do you have a sample vbscript?


Thanks,
Jidjan
by jidjan
Fri Jul 25, 2008 9:53 am
Forum: Common Problems
Topic: Lunch Condition
Replies: 3
Views: 3980
 
Jump to post

Re: Lunch Condition

Hello jidjan,

you can probably implement this in a custom action in VBScript or JScript:

var shell = new ActiveXObject("WScript.Shell");
shell.Popup(shell.Run("cmd.exe /c exit 1", 1, true));

With best regards

Clemens Anhuth
Hi Clemens,

I am not really good on scripting, can please elaborate ...
by jidjan
Thu Jul 24, 2008 8:08 pm
Forum: Common Problems
Topic: Lunch Condition
Replies: 3
Views: 3980
 
Jump to post

Lunch Condition

I am currently evaluating advanced installer and new to MSI. My project seems to be working except with the a batch file as my second lucnh condition. The batch file generate a return code 0 for success, 10 for wait, and abort if greater than 10. How can I do this?

Thanks,
jidjan

Go to advanced search