You are here

Starting from CD without dialogue?

5 posts / 0 new
Last post
knechtodawas
Offline
Last seen: 16 years 2 months ago
Joined: 2007-12-04 08:08
Starting from CD without dialogue?

Hello, I want to start Firefox Portable from a CD without being asked, whether I want to copy the files to the HD. Is this possible?

Simeon
Simeon's picture
Offline
Last seen: 9 years 4 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I think so

although i never tried it...
see here:
https://portableapps.com/support/firefox_portable#cd

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

knechtodawas
Offline
Last seen: 16 years 2 months ago
Joined: 2007-12-04 08:08
I burned Firefox Portable as

I burned Firefox Portable as described on a CD, but each time I run the Software, a dialogue opens, which I have to confirm.

Patrick Patience
Offline
Last seen: 4 years 2 months ago
DeveloperModerator
Joined: 2007-02-20 19:26
You Could

Edit the source and recompile. It's not that hard. I'll take a look and tell you what you need to do if I have a chance.

EditOk, so open up FirefoxPortable\Other\Source\FirefoxPortable.nsi in your favorite text editor, Ctrl+F this line

MessageBox MB_YESNO|MB_ICONQUESTION `$(LauncherAskCopyLocal)` IDYES SwitchToRunLocally

In front of the MessageBox MB_YE..... put a ; so you have

;MessageBox MB_YESNO|MB_ICONQUESTION `$(LauncherAskCopyLocal)` IDYES SwitchToRunLocally

Save your file.

Now go to usb.smithtech.us and go to like the AppLauncher button, download NSIS Portable. Install is. And run NSISPortable.exe and drag your new FirefoxPortable.nsi into the window. It should compile and overwrite your existing FirefoxPortable.exe, now you'll have to reburn.

Now, I just took a quick look at this, I don't think there's any other option to disable that window, but this should work. I can't guarantee it'll work, I didn't look close enuff, but personally I think it should. I just don't want you wasting a C.D.

knechtodawas
Offline
Last seen: 16 years 2 months ago
Joined: 2007-12-04 08:08
Thank you, the described

Thank you,
the described approach disables the dialogue indeed. But the software tries to run on the CD, if the dialogue is skipped and a Windows message appears. I figured out that setting the "RunLocally" to "true" solves my problem.

Log in or register to post comments