Search found 3 matches

Go to advanced search

by Azef123
Fri Aug 08, 2014 1:45 pm
Forum: Building Installers
Topic: Powershell return code
Replies: 1
Views: 3028
 
Jump to post

Powershell return code

Hello,

In custom Actions, Powershell script how return code to stop installation.

I use exit 0, exit 1, exit 2... but nothing

Code: Select all

if ($variable==true){ 
#sucess 
exit ?? 
} 
else { 
#fail 
exit ???
}
Thx
by Azef123
Fri Aug 08, 2014 9:08 am
Forum: Building Installers
Topic: Get value TextBox Dialog with PowerShell Script
Replies: 3
Views: 7583
 
Jump to post

Re: Get value TextBox Dialog with PowerShell Script

Hello,

I found how to get value properties but in .vbs :|
1. In Dialogs menu, add Edit Box
2. Check name "Property Name" in right menu "Properties". (For me Property Name=EDIT_2_PROP)
3. In Custom Actions add "Execute inline script code"
4. Use script Type vbs
5. Dim text_box
text_box = Session ...
by Azef123
Thu Aug 07, 2014 1:32 pm
Forum: Building Installers
Topic: Get value TextBox Dialog with PowerShell Script
Replies: 3
Views: 7583
 
Jump to post

Get value TextBox Dialog with PowerShell Script

Dialog with text box
Dialog with text box
Capture.PNG (85.94 KiB) Viewed 7583 times
First, I am new and i try the software.

I am in "Architect" mode. I add a dialiog sequence with "Edit Box" and i would like get value enter by user in Powershell script.

How in the custom action (PowerShell script) can I get the text value ?

Go to advanced search