Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
JPamplin

Picasa 2 Silent Install?

Recommended Posts


@totoymola

I've had a few problems with using your .msi. The main/only problem being that after installing uAXP and them calling your msi from RunOnceEx, it all installs fine. However after the first reboot my CD drive dissapered from My Computer and could not be accessed anyother way. This occured on both a VM machine and a real computer.

I've gone back to using the /S switch and

cmdow @ /HID
@echo off

TASKKILL.EXE /F /IM Picasa2.exe
TASKKILL.EXE /F /IM PicasaMediaDetector.exe

del %0

to kill of Picasa when it tries to start itself after installing, also stopped it from opening IE, by not having IE and having no defualt browser setup during the install so it can't open the picasa webpage

If you have Windows XP Home there is no taskkill.exe I did find a free system tool alternative called "pskill.exe" which actually does a good job.

http://www.sysinternals.com/Utilities/PsKill.html

REG ADD %KEY%\061 /VE /D "Picasa (Google-Picture)" /f
REG ADD %KEY%\061 /V 1 /D "%systemdrive%\install\Picasa\picasa2-current.exe /S /D=C:\Winapp\Picasa" /f
REG ADD %KEY%\061 /V 2 /D "pskill.exe Picasa2.exe" /f
REG ADD %KEY%\061 /V 3 /D "pskill.exe PicasaMediaDetector.exe" /f

Share this post


Link to post
Share on other sites

I am very sorry guys.. :(

I will make an update when I get the chance. I am still in a catch-up game with my schoolworks.. (did I say that right? i mean i am still left behind! :lol:)

Share this post


Link to post
Share on other sites

For those that rather use original setup EXE here is an AutoIt script to install your Picasa silently

$exe_file_name = "picasa2-current.exe"

RunWait (@ScriptDir & "\" & $exe_file_name & " /S",@ScriptDir)

Local $i = 0 ; counter for time passed (fail safe way to end script after some amount of time
Local $epicasa = 0; will be 1 if Picasa was executed (started)
Local $edetector = 0; will be 1 if Picasa was executed (started)
Local $kpicasa = 0; will be 1 if Picasa was killed (stoped)
Local $kdetector = 0; will be 1 if Picasa was killed (stoped)

; as long as bouth weren't killed and it hasn't passed 60 * 0,5 seconds
While (Not(($kdetector) And ($kpicasa)) And ($i < 60))

;if Picasa2 is started mark it started and try to close it
If ProcessExists("Picasa2.exe") Then
$epicasa = 1
ProcessClose("Picasa2.exe")
EndIf

;if PicasaMediaDetector is started mark it started and try to close it
If ProcessExists("PicasaMediaDetector.exe") Then
$edetector = 1
ProcessClose("PicasaMediaDetector.exe")
EndIf

; if applications were started and don't exist anymore, mark them killed
If (($epicasa) And Not(ProcessExists("Picasa2.exe"))) Then $kpicasa=1
If (($edetector) And Not(ProcessExists("PicasaMediaDetector.exe"))) Then $kdetector=1

;wait 0,5 seconds then increase timer
Sleep (500)
$i = $i + 1
WEnd

At the start of this code there is a $exe_file_name variable. Change it to your setup.exe and compile the script.

Share this post


Link to post
Share on other sites
While practicing, I thougt of repackaging this nice program for silent installation. Feel free to use my Picasa2 msi.

Picasa2 MSI

DOWNLOAD HERE

How did you do this?

Or do you already have a newer version?

Share this post


Link to post
Share on other sites

Hi there can, someone repost the msi plz ?

I would like to know if the version of picasa is in english or multilanguage?

How can I repack it in french?

:w00t: I know that I'm asking a lot of questions but I'll be thankful for your help!

Share this post


Link to post
Share on other sites

start /wait setup.exe /S
taskkill.exe /F /IM Picasa2.exe
taskkill.exe /F /IM PicasaMediaDetector.exe

Above works fine, why bother with making .MSI-s at every new release ?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...