Menu

#638 Install on Card Reader problems

closed-fixed
5
2007-06-26
2007-06-21
Anonymous
No

I store previously use installdir in registry with this:
InstallDirRegKey HKLM "Software\NSIS_MOTONAV_RESOURCES" "Install_Dir"

I also set default install directory to $TEMP

Problem 1. - This is on Windows XP.
Launching installer second time, when memory card removed from card reader generate bad Error.

Reproduce bug:
1. I installed my application to memory card in USB Card Reader. Let's say I select drive letter G:
2. It installs fine.
3. Remove card
4. Launch installer and right away get error:
"There is no disk in the drive. Please insert a disk into drive G:" Cancel,Try Again, Continue

If I hit Continue or Cancel I get to installer with installDir preset to default.

I think it's unnecessary to show this error and if driver is not available NSIS should use default right away.

Problem 2 - Windows 2000 only
A also had very strange behavior with Card Reader on Windows 2000. When I hit Browse button to select Install directory I get bunch of bad error about not able to read card reader drivers. Windows XP does not do it.

NSIS should catch this errors and ignore it.

lnazdrynau@gmail.com

Discussion

  • Amir Szekely

    Amir Szekely - 2007-06-26
    • labels: --> User-Interface
    • assigned_to: nobody --> kichik
    • status: open --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2007-06-26

    Logged In: YES
    user_id=584402
    Originator: NO

    Thanks, fixed. I moved SetErrorMode to Main.c where it affects the entire installer instead of specific points.

     

Log in to post a comment.