Results 1 to 6 of 6

Thread: Reference previous installdir, lock down installdir

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Mar 2004
    Posts
    3,915

    Default Re: Reference previous installdir, lock down installdir

    Okay, here we go. We have uploaded a demo for you:

    http://www.lindersoft.com/projects/LockedFolder.zip

    Please use your own Product GUID in Line 37. This will read the installation folder from a previously installed product. If the installer detects the installation, it sets the runtime variable %VAR_ALREADY_INSTALLED% to "1". In Line 58, we set the Dialog Label to DLG_SELECTFOLDER.

    In Lines 62-64, if %VAR_ALREADY_INSTALLED% equals "1" (means: the product is already there), skip (hide) the Select Installation Folder dialog.

    There are quite a few more ways to handle this. But does this one work for you?

    Friedrich
    Attached Images Attached Images  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •