Old 29th June 2020, 03:31   #1
Mark Nascimento
Member
 
Join Date: Jul 2006
Posts: 82
Shortcut - 'start in' box

Section
CreateShortCut "$smprograms\Disco\CDMenu.lnk" "$exedir\Disco\CDMenu\CDMenuProEd.exe"
SectionEnd

How to fill the "start in" ? I never found a way. With this link property box empty, the CDMenu always starts in Russian.
When I fill the start in box with the full path (without the executable, of course) it starts in the language I configured the program, lets say English.

Another software that needs a "start in" is CheMax.exe. without this, the software shows
"ERROR 0x0001 Please reinstall"

How to fill the "start in" box of the link properties using nsis?

(I am Brazilian so 'start in' may be a wrong translation from 'Iniciar em')
Mark Nascimento is offline   Reply With Quote
Old 29th June 2020, 10:00   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,275
SetOutPath controls the start in directory.

But if your software does not work without it, your software is broken! The user could start it in other ways that does not set the current directory to what you expect.

Also, $smprograms\Disco is not going to exist on other systems, you need to create this directory before you create the shortcut.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump