MSFN Forum: Firefox install cancel? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Firefox install cancel? Rate Topic: -----

#1 User is offline   hinkdad 

  • Group: Members
  • Posts: 9
  • Joined: 06-September 06

Posted 13 September 2006 - 04:04 PM

Is there a flag you can set for a firefox install to cancel if it sees that firefox is already installed? I found out if it installs over your installation you loose all your bookmarks, cookies, themes..... the hard way :realmad:


#2 User is offline   hinkdad 

  • Group: Members
  • Posts: 9
  • Joined: 06-September 06

Posted 14 September 2006 - 12:31 PM

hmmmmmm I gues no one knows anything... or my topic description suxors :-(

#3 User is offline   ironside 

  • Member
  • PipPip
  • Group: Members
  • Posts: 214
  • Joined: 10-August 04

Posted 14 September 2006 - 02:13 PM

IF EXISTS "%SystemDrive%\Program Files\Firefox\firefox.exe"
goto EXIT

EXIT


or something like that

#4 User is offline   hinkdad 

  • Group: Members
  • Posts: 9
  • Joined: 06-September 06

Posted 14 September 2006 - 02:49 PM

Thanks Ironside!!!

Worked like a charm..... is there a way to make it just go to the next line instead of exit though? The "go to exit" command skips to the end.

This post has been edited by hinkdad: 15 September 2006 - 08:55 AM


#5 User is offline   hinkdad 

  • Group: Members
  • Posts: 9
  • Joined: 06-September 06

Posted 15 September 2006 - 08:55 AM

bump

#6 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 15 September 2006 - 09:30 AM

This example may suit you.
If Not Exist "not_here.exe" (
"msiexec.exe"
)

or do it on one line
If Not Exist "not_here.exe" "msiexec.exe"

So if firefox.exe does not exist, then run the installation.

#7 User is offline   hinkdad 

  • Group: Members
  • Posts: 9
  • Joined: 06-September 06

Posted 15 September 2006 - 09:38 AM

This is what I have right now.... and all it does is flash the window quickly and installs nothing even though now the programs are not installed. If I take out the "if" lines it will install all three apps no problem. I cant seem to find what I am missing here.

CLS
@echo off
TITLE ETC Computer Solutions Recipe Install

ECHO.
ECHO Over the next few minutes you will see automated installations 
ECHO of various sofware applications. The computer will restart automatically
ECHO once the whole process has finished!

ECHO.
ECHO Starting installation of Applications
ECHO.
ECHO Installing Lavasoft Ad-Aware 6 Build 181
ECHO Please wait...
IF EXISTS %SystemDrive%\Program Files\Lavasoft\Ad-Aware SE Personal\Ad-Aware.exe goto next 
start /wait aawsepersonal.exe /s 

:next
ECHO.
ECHO Installing AVG Anti-Virus 7.1.782...
start /wait avgsetup.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED

ECHO.
ECHO Installing Mozilla Firefox
ECHO Please wait...
IF EXISTS %SystemDrive%\Program Files\Mozilla Firefox\firefox.exe goto EXIT 
start /wait Firefox.exe -ms 

EXIT


#8 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 15 September 2006 - 10:16 AM

Exist, not Exists
CLS
@echo off
TITLE ETC Computer Solutions Recipe Install

ECHO.
ECHO Over the next few minutes you will see automated installations 
ECHO of various sofware applications. The computer will restart automatically
ECHO once the whole process has finished!

ECHO.
ECHO Starting installation of Applications
ECHO.
ECHO Installing Lavasoft Ad-Aware 6 Build 181
ECHO Please wait...
IF NOT EXIST "%ProgramFiles%\Lavasoft\Ad-Aware SE Personal\Ad-Aware.exe" (
start /wait aawsepersonal.exe /s
) ELSE (
ECHO Skipping install
)

ECHO.
ECHO Installing AVG Anti-Virus 7.1.782...
start /wait avgsetup.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED

ECHO.
ECHO Installing Mozilla Firefox
ECHO Please wait...
IF NOT EXIST "%ProgramFiles%\Mozilla Firefox\firefox.exe" (
start /wait Firefox.exe -ms 
) ELSE (
ECHO Skipping install
)

EXIT

This post has been edited by MHz: 15 September 2006 - 10:17 AM


#9 User is offline   hinkdad 

  • Group: Members
  • Posts: 9
  • Joined: 06-September 06

Posted 15 September 2006 - 10:32 AM

DUDE!!!!

I wish I could give you a HUGE hug!!!!

Works like a charm man......... thanks a BILLION

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy