Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7897667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:13:31+00:00 2026-06-03T08:13:31+00:00

Something thats really annoying me with NSIS is why there are 2 different ways

  • 0

Something thats really annoying me with NSIS is why there are 2 different ways of doing things?

  1. Why have 2 ways of performing conditional statements/logic. Ie, use ‘$if’ or use ‘StrCmp’?
  2. Why be able to store variables in many different ways. Ie, use ‘$myvar’ or use ‘var myVar’ and I think theres more
  3. Why have assembly to access store variables? Why not just use the above methods
  4. Why can you create a comment by using both ‘;’ or ‘#’

Can you suggest a link that documents all the global variables? Such as $INSTDIR and others?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:13:33+00:00Added an answer on June 3, 2026 at 8:13 am

    You clearly haven’t understood all of how NSIS works.

    1. ${If} and all of those things are from LogicLib, which was added to the NSIS standard library after it had been in existence for a long time. Formerly, you had to use StrCmp, IntCmp, or one of those jump operators. ${If} a == b is just syntax sugar around StrCmp with the labels all taken care of. It produces much more maintainable code.

    2. Var foo is the variable declaration. $foo is accessing the variable. They are thus quite different things. You can’t use $foo without having already specified Var foo.

    3. I haven’t a clue what you mean by this.

    4. Does it matter?

    5. Look in the manual. It’s all there in plain sight. Try the Variables section.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, I have just run into something that is really catching me off-guard. I
math.h is not really a documentation. Is there something else that will describe these
I am doing facebook app development. Something really annoy me is that randomly, when
I'm experiencing something recently that is really annoying and I can't figure out why
I've been playing with RavenDB recently and there is something that is annoying me
I have ran into a really annoying issue which gives me this error: The
I have come across what seems like a really annoying bug running my C++
In my current project we have 5 different masterpages, there are some common elements
I have a really annoying problem that I tried to solve for a few
This is really annoying me. In Objective-C, I have an Item entity with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.