PauloBarbosa
PauloBarbosa

Reputation: 133

Why NSIS return this error "Invalid command: SetRegView"

I'm trying to use this command SetRegView 64 on NSIS script but the compiler says it is a invalid command.

Upvotes: 1

Views: 560

Answers (1)

Anders
Anders

Reputation: 101756

Including the exact compiler error message in your question would help...

SetRegView was added in v2.26 so you are really out of date if you don't have a version that supports it. It can only be used in a Function or Section but it should warn you if you use it somewhere else.

Section
SetRegView 64
WriteRegStr HKCU Software\... ...
SectionEnd

Upvotes: 2

Related Questions