Closed Bug 295487 Opened 20 years ago Closed 20 years ago

Deer Park Alpha 1 build will not start from a Batch File for use with the -profile switch on USB Drives...

Categories

(Toolkit :: Startup and Profile System, defect)

x86
Windows XP
defect
Not set
blocker

Tracking

()

RESOLVED INVALID

People

(Reporter: johngoodin, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050525 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050525 Firefox/1.0+ I copied the nightly Deer Park Alpha 1 build install to my USB stick to 'E:\Firefox2' folder. I can change to the folder and it launches fine from there, but will not start from a batch file with the -profile switch. Platform: WindowsXP Professional Reproducible: Always Steps to Reproduce: 1. Download the Deer Park Alpha 1 build and install it. 2. Copy the install folder to a USB drive folder. 3. Create a MS-DOS batch file to launch via batch file with the -profile switch. 4. Create the batch file below in the root of USB drive. 5. Create a profile folder called 'FFProfile_DeerPark'. Sample: @echo off cls start \Firefox2\firefox.exe -profile \FFProfile_DeerPark 6. Launch batch file... Actual Results: 1. Batch file runs with no error messages but Deer Park Alpha 1 build never loads into windows. 2. Looking at task manager never shows it as a loaded in the process pane. Expected Results: As with older versions it should have launched the browser. I still have Firefox v1.04 on the same USB stick in \Firefox and it's \Firefox.bat is still working fine launching FF and using the -profile switch with it's \FFProfile folder as per the FAQ guide.
I just discovered today in testing it didn't like the -profilemanager switch either. @echo off cls start \Deer Park Alpha 1\firefox.exe -profilemanager FF never loads... Workaround: You can run it from a Shortcut on your USB srick etc... and have it use a profile in a folder on it... I can run Deer Park Alpha 1 off a USB stick successfully only I have to run it from a shortcut. Step 1. Create or copy a shortcut to your USB stick. Step 2. Modify the shortcut as follows. Shortcut Name: Deer Park Alpha 1 (With Profile Manager) Target: "H:\Deer Park Alpha 1\firefox.exe" -profilemanager Start in: "H:\Deer Park Alpha 1" Shortcut Key: None Run: Maximized Comment: Change Drive Letter(s) as needed ============================================================== Change the drive letter in the shortcut as needed. Generally it's the next available drive letter in the sysyem you are using. If FF has never been used on this computer before the profiles box will either say 'Default User' or it will be blank. Just delete the 'Default User' profile if it exists and create a new one and use the "Folder" option to tell it there to look for the profile folder. Be sure to create one just for 'Deer Park' and not your normal one used for FF v1.04 etc...
Does it work if you use the following command in the batch file? start "" \Firefox2\firefox.exe -profile \FFProfile_DeerPark notice the "" after start
Yes this works.... Does it work if you use the following command in the batch file? start "" \Firefox2\firefox.exe -profile \FFProfile_DeerPark notice the "" after start
Windows XP uses the first argument after start to set the title for the window: http://www.fsref.com/pr/dosxp.shtml#start http://www.pcmag.com/article2/0,1759,1631997,00.asp That's why it wasn't working, I guess. I don't know why the batch file for 1.0.4 is working with that command, but I don't think this can be marked as a Firefox bug. I believe this bug should be marked Invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.