You are here

UNBELIEVABLE BUG - set LocalHomepage in .ini file and put all files into a folder that begins with a small letter "r"

7 posts / 0 new
Last post
autor
Offline
Last seen: 17 years 5 months ago
Joined: 2006-11-09 13:28
UNBELIEVABLE BUG - set LocalHomepage in .ini file and put all files into a folder that begins with a small letter "r"

Here is my folder structure:
C:\
- removable (folder)
FirefoxPortable.ini
FirefoxPortable.exe
index.html
+ App (folder)
+ Data (folder)
+ Other (folder)
+ Website (folder)

and here is my FirefoxPortable.ini:

[FirefoxPortable]
FirefoxDirectory=App\firefox
ProfileDirectory=Data\profile
PluginsDirectory=Data\plugins
SettingsDirectory=Data\settings
FirefoxExecutable=firefox.exe
AdditionalParameters=
LocalHomepage=index.html
DisableSplashScreen=true
DisableIntelligentStart=false
AllowMultipleInstances=true
SkipChromeFix=false
SkipCompregFix=false
WaitForFirefox=false
RunLocally=true

and the result is:
File not found!
file:///C:emovable/index.html

It is the same for every folder that begins with a small letter "r"
(with the capital "R" it is OK...)
Is it normal?

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
I

think that's actually a bug. I'm guessing that NSIS recognises /r as a carridge return and then ignores it. Could be wrong however, John?

Yours

Steve Lamerton

The Liberta Project

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Correct

And there's no way to fix it because you can't tell NSIS to automatically add slashes.
----
Ryan McCue
Cube Games
People who didn't need people needed people around to know that they were
the kind of people who didn't need people.
(Maskerade)

"If you're not part of the solution, you're part of the precipitate."

autor
Offline
Last seen: 17 years 5 months ago
Joined: 2006-11-09 13:28
/r

So why "path/folder/rindex.html" is OK?

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 7 months ago
Developer
Joined: 2005-12-10 15:22
It's probably

the double slash!

Yours

Steve Lamerton

The Liberta Project

sum1
Offline
Last seen: 15 years 9 months ago
Joined: 2006-02-01 09:38
A carriage return is

A carriage return is represented as '\r' not '/r', which might be why you see this problem with C:\removable and not folder/rindex.html.

autor
Offline
Last seen: 17 years 5 months ago
Joined: 2006-11-09 13:28
Homepage relative path alternative?

Now I see, thanks.

So the result is that it could make problems if I distributed my presentation on CD and somebody would copy it into some r... named folder. Is there any alternative way of setting the relative path of the homepage? (In config file there have to be an absolute path, or am I wrong?)

Topic locked