|
|
#1 |
|
Junior Member
Join Date: Aug 2007
Posts: 3
|
CreateShortCut Start in property
I have a problem when create shortcut, "Start in" property is not my $INSTDIR and my application need start in $INSTDIR. Can I modify this property?? I'm using MUI with MUI_STARTMENU_WRITE_BEGIN macro.
THANKS and sorry about my english. Facundo. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
from the helpfile: "$OUTDIR is used for the working directory. You can change it by using SetOutPath before creating the Shortcut"
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2007
Posts: 3
|
If I change the OUTDIR with SetOutPath before create de shortcut, the shortcut are not created in $SMPROGRAMS. I SetOutPath in $SMPROGRAMS\MyDir before create the shortcuts.
|
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Then use full paths with CreateShortcut.
code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Aug 2007
Posts: 3
|
thaks you.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|