|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2004
Location: Perth, Western Australia
Posts: 14
|
Stu,
I don't have a SysNative folder, but calling to Notepad is Windows is not returning any value. David |
|
|
|
|
|
#2 | |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
Alright, try this. I've added an attachment with a test script. Extract to a folder, compile and run it. Then paste up the result here. Running this gives me:
Quote:
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2004
Location: Perth, Western Australia
Posts: 14
|
Jason,
Your code works perfectly on my machine at home, but at work, both files return 0. So something about NSIS on my machine at work is broken! I'm using HM NIS Edit Portable. David |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2004
Location: Perth, Western Australia
Posts: 14
|
Installed 3.0b1 - scripts now correctly return expected values, both for Jason's code and my original ones. So issue was bug in version of compiler installed with Portable Apps version of HM NIS Edit.
Sorry for the distraction. David |
|
|
|
|
|
#5 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
No problem
.
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
Is the portable version using the NSIS fork from scratchpaper.com (2.46.xyz)? It has issues with calling functions that are exported 3 times (some functions in kernel32 and shell32 are exported as plain and with A and W suffix)
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|