|
|
|
|
#1 |
|
Junior Member
Join Date: Jul 2017
Posts: 29
|
NSIS and & symbol in File "/oname=..."
Hello!
Sorry for my English. I need add some files, which named as "$profile.bat", "&settings.ini", etc. They all include in filename a character $. I try double-$: PHP Code:
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jul 2017
Posts: 29
|
I try this:
PHP Code:
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
The /oname parameter needs $ as $$ but the source file path does not, just use $.
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2017
Posts: 29
|
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2017
Posts: 29
|
All works fine!!!
Thank you, very much!
|
|
|
|
|
|
#6 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
Remember to use the full path with /oname.
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jul 2017
Posts: 29
|
what's mean?
for example, i need to use something like that: PHP Code:
P.S. I found a new problem. Why not worked this? File contain two ore more dots in filename? Thanks for answer.PHP Code:
|
|
|
|
|
|
#8 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
"/oname=data\ed\5_10_0\ACTCOMMONFORM.XSD.Dcf" is not a full path, it should start with $instdir or something like that.
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Jul 2017
Posts: 29
|
Quote:
PHP Code:
![]() And what's mean this: PHP Code:
http://nsis.sourceforge.net/Reference/File It's old article? Full path absolutely need? Big thanks for your fast answers! |
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Jul 2017
Posts: 29
|
Thanks for all! All worked, it's my error - file in ..\!!cache1\data\ed\5_10_0\ was deleted.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|