|
|
#1 |
|
Guest
Posts: n/a
|
"no disk" browse problem
Hello. I am getting this error message when I click the 'Browse' button on a MUI_PAGE_DIRECTORY page:
"There is no disk in the drive. Please insert into drive \Device\Harddisk1\DR1." It keeps popping up over and over again whenever D: is in the view. - NSIS 2.11 on Windows 2000 - I have searched the forum and FAQ and cannot find a solution - I have a ZIP drive installed, but haven't used it in years - I have not had this problem with other Windows programs - only my installer - I am not a 'native Windows' developer or user - maybe I don't understand something about Windows and users are used to this annoyance? Secondary question: How do I change the text "Select the folder to install NNN in:" in the browse window? Thank you for your help! - Andy |
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Second question answer:
http://forums.winamp.com/showthread....69#post1821600 (a few topics down) -Stu |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Hey - thanks for the quick response. I tried this:
DirText "" "" "" "Select a directory for your projects." And that worked great - except that it changed both MUI_PAGE_DIRECTORY pages. How do I make it change just on my second MUI_PAGE_DIRECTORY page? Thanks! - Andy |
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Oh sorry, I thought you meant for a custom InstallOptions page.
To change that text, I think you use !define MUI_DIRECTORYPAGE_TEXT_DESTINATION before each !insertmacro MUI_PAGE_DIRECTORY. -Stu |
|
|
|
|
|
#5 | |
|
Guest
Posts: n/a
|
Quote:
The previous solution would work if there were a way to set/save state of the DirText, but I don't think that can be done... - Andy |
|
|
|
|
#6 |
|
Major Dude
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
|
First question may come from not existing default installation folder (wrong registry value or script default, 4.8.1.21 and 22 of Manual). You can check this using IfFileExists in the dir's page show function.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
[Now that I have the registration thing sorted, I can reply...]
Takhir, Thanks for the response. The directory definitely exists. I created the installer using EclipseNSIS and modified it for my project. I've checked the default dir and everything looks in order. - Andy |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
[Bump]
Anyone have any thoughts on either issue? Thanks. - Andy |
|
|
|
|
|
#9 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Do you get that only with your installer? Does it happen with the NSIS paclage installer? Maybe it's some broken shell link that the browse dialog shows... If not, attach the script, not much can be said without it.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#10 | |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
Quote:
- Andy |
|
|
|
|
|
|
#11 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Does it happen with browse dialogs in other applications? I could call SetErrorMode to suppress the message, but I don't think that'd be the right thing to do in this case. Seems to me like something is wrong on your machine. Is the ZIP drive on D:? I have a ZIP drive, and I don't get this message when browsing for a folder. Maybe there's a driver problem that interferes with the detection of an inserted ZIP disk and causes this error.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#12 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Try this. Just a small VB.NET app that will show a folder browse dialog and catch any errors made in a message box.
-Stu |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
Thanks for the replies.
kichik - It does not happen in other browse dialogs that I can find. I've tried several installers and it seems like only the NSIS ones are choking. I really only use a handful of apps and haven't seen it within any of those either. The ZIP drive is D: and I only started seeing this when I started with NSIS. It is certainly possible that it's a driver issue, although I have everything as up-to-date as possible. Afrow UK - After finding and dowloading mscoree.dll [is this a .NET thing? - don't have it], I get the following when I run the program: "The Application failed to initialize properly (0xc0000022)..." Thanks guys. If it's just me with the problem then that's OK. I would just hate to have a customer get this if it's a more general problem. Happy Hanukkah/Happy Kwanzaa/Merry Christmas/Festive Festivus! - Andy |
|
|
|
|
|
#14 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Have you got MS .NET Framework installed?
http://www.microsoft.com/downloads/d...displaylang=en -Stu |
|
|
|
|
|
#15 | |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
Quote:
Is it possible to build the test app without it? - Andy |
|
|
|
|
|
|
#16 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
No because it is written in VB.NET as I have already said.
You'll have to install it one day anyway because a hell of a lot of people are writing VB.NET, C# and C/C++ 7 -Stu |
|
|
|
|
|
#17 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
For the purpose of this simple test, you can run drwtsn32.exe and click on the first browse button. It uses the directory browsing dialog.
Even better, the Windows file find dialog has a browse button which uses the same method as well. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#18 | |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
Quote:
kichik - the Windows find Browse dialog does not give me this error. I used "Search for Files or Folders..." and Look in: Browse. No problemo. - Andy |
|
|
|
|
|
|
#19 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Then it's probably the SHGetPathFromIDList call. The attached example should trigger the error message.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#20 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
kichik - I'm away from my PC for the next week or so. I will try it when I get back and let you know!
Thanks for the help. - Andy |
|
|
|
|
|
#21 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
kichik - Yep - that test reproduces my problem.
- Andy |
|
|
|
|
|
#22 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Great. Now lets see if SetErrorMode makes it go away.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#23 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
Nope - that didn't fix it.
- Andy |
|
|
|
|
|
#24 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
That's weird. I'm afraid there's nothing more I can do. SetErrorMode usually suffices. Did you try another driver?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#25 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
OK. Thanks for the help. I will try to find a new driver.
- Andy |
|
|
|
|
|
#26 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
FWIW I updated to the latest Iomega drivers and I still have the problem.
- Andy |
|
|
|
|
|
#27 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Maybe it's some background program?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#28 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
I have a very simple setup. I have no idea how to track this down [remember I'm not a Windows guy :-)]. If I ever figure it out or it "Just Goes Away"(tm), I'll let you know here.
Thanks again. - Andy |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|