|
|
#1 |
|
Junior Member
Join Date: Sep 2008
Posts: 4
|
HideWindow Doesn't work!
I wrote an installer based on the makensis.nsi example.
Function PageLeaveReinstall was copied verbatim, unmodified (except for the registry path for "UninstallString"). But HideWindow inside that function doesn't work! PHP Code:
Is this a known bug in nsis? Tx, Jen |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Sep 2008
Posts: 4
|
First let me correct a mistake in my listing above. Instead of
PHP Code:
PHP Code:
As soon as I fixed my code to be exactly what was in makensis.nsi: PHP Code:
This is weird. I don't understand this _? thing: I read the entire 4.9.1.4 ExecWait documentation and didn't find any hint as to what it does. What does _? do? Tx, Jen |
|
|
|
|
|
#3 | |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
It's all in help file:
Quote:
|
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2008
Posts: 4
|
Thanks! I did search the NSIS User Manual but couldn't find any mention of it. Apparently the CHM search and index capabilities are not that great.
Now, the help file says that _?= sets $INSTDIR. This is understandable in a statement like PHP Code:
PHP Code:
Also, where does the weird syntax '_?=' come from? Is it an assignment to special variable named '_?' ? Or is it simply an atomic construct to be used as is? Tx, Jen |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
The second will not set $MYBELOVEDVARIABLE. Think about it, the executed installer will not even know the command line came from $MYBELOVEDVARIABLE as it will be replaced with its content.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|