DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Strange behaviour with Delphi and Vista  (Read 8,462 times)

FSL

  • FreeSoftLand
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 5
Strange behaviour with Delphi and Vista
« on: February 23, 2007, 06:19 AM »
Hi,
I have adapted my FSL Launcher code in order to work with Windows Vista compliance, but I have seen a strange behaviour:
at the first time execution of my program from Inno Setup, the windows WMDropFiles event don't work (I can't drag & drop on my application), but at the next executions work correctly.
For people that have Vista and want to try this behaviour, my free program can be downloaded from: http://fsl.sytes.net/dc/download.php?id=13 (home page: http://fsl.sytes.net)

Thanks for aid.  :)
FSL

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,888
    • Participated in NANY Challenge Six Times
    • Coding Snacks
    • Gathering Badge
    • Cody Award
    • Volunteers/Staff
Re: Strange behaviour with Delphi and Vista
« Reply #1 on: March 08, 2007, 04:33 PM »
About the only help I can offer for Delphi/Vista issues is these 2 pages :

Creating Windows Vista Ready Applications with Delphi:

Part 1

Part 2

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Strange behaviour with Delphi and Vista
« Reply #2 on: March 11, 2007, 02:44 PM »
If running your app from the finish screen of the installer, will run it with the same elevated rights as the installer is running. The InnoSetup advice is not to run your app from there to avoid problems like that. The InnoSetup that should be used to build Vista aware installers is 5.1.9 or higher (currently on 5.1.11). It's been on the InnoSetup KB since october last year... (http://jrsoftware.org/iskb.php?vista)

HTH
Ath
(Long-time InnoSetup user  ;) )
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

Original address: https://www.donationcoder.com/forum/index.php?topic=7559.0