Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

Problem with If Statement

msiexpert created the topic: problem with If Statement
I’m trying to use the “If Statement” feature to test a logical selection defined by the user. It works fine but I can’t add a “Custom – Dialog” inside of this “If Statement”. The following error message is shown:

Compile error [0x43 67 ]: C:\User…\AppData\Local\Temp\gentee00\install.g [line:25 Pos: 47] Label ‘dlgid1’ was not defined

The content of the “install.g” file is the following:
func install
{
background_show( 0 )

label dlgid0
if !dlg_show( %{360,568,753,941,1172,1449} ) : goto dlgid0

if istrue( 1672 )
{

label dlgid1
if !dlg_show( %{1523,1590,1657} ) : goto dlgid0

}

label dlgid2
if !dlg_show( %{2035,2294,2641,2867} ) : goto dlgid1

ifdef $UNINSTALL { createunexe() }
ifdef $UNINSTALL
{
unlog_on()
unlog_mode( 0, 1 )
}

}

I’m using CreateInstall version 5.4.0.

Thanks in advance!

applicationPackaging replied the topic: Re: problem with If Statement
Don’t use Dialog commands inside If Statement and other commands.
If you skip a dialog then use If condition field in Dialog command.

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x