No announcement yet.

Shortcut - 'start in' box

  • Filter
  • Time
  • Show
Clear All
new posts

  • Shortcut - 'start in' box

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

    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')

  • #2
    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


    • #3
      Hi, Mark Nascimento.
      I am you.
      Lost pw and stuff, so I have new username. But older.

      Btw I found a workaround for these two softwares, CDMenu and chemax.
      I created a simple shortcut in its same folder, filling where to start from.
      So, instead of creatingashortcut, I copy the windows shortcut to the startmenu I want.

      CopyFiles "$ExeDir\CheMax\CheMax.lnk" "$smprograms\Games"