Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Unatended install won't work(winXP apps)

- - - - -

  • Please log in to reply
3 replies to this topic

#1
bookert2003

bookert2003
  • Member
  • 6 posts
  • Joined 15-May 09
Hello

I try to incorporate flash player 10(adobe version) and internet explorer7 but the two applications wont run during the install. I also want to install adobe v9 and that works ok. Does someone know what i do wrong with flash and IE7? I am kinda a noob with this so all the help is welcome. Thanks in advance. My RunOnceEx.cmd script:

@echo off:
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx


REG ADD %KEY% /V TITLE /D "Installing Applications" /f


REG ADD %KEY%\001 /VE /D "Adobe Reader V910NL" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\AdbeRdr910_nl_NL.exe /sPB /RS

REG ADD %KEY%\010 /VE /D "Flash player 10" /f
REG ADD %KEY%\010 %CDROM%\Software\start /wait install_flash_player_10_active_x.exe /s

REG ADD %KEY%\025 /VE /D "Internet Explorer7" /f
REG ADD %KEY%\025 %CDROM%\Software\IE7.exe /passive 

Exit



How to remove advertisement from MSFN

#2
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,542 posts
  • Joined 13-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Look!

Hello

I try to incorporate flash player 10(adobe version) and internet explorer7 but the two applications wont run during the install. I also want to install adobe v9 and that works ok. Does someone know what i do wrong with flash and IE7? I am kinda a noob with this so all the help is welcome.
<snip />
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\AdbeRdr910_nl_NL.exe /sPB /RS
<snip />
compare the above with these
REG ADD %KEY%\010 %CDROM%\Software\start /wait install_flash_player_10_active_x.exe /s
REG ADD %KEY%\025 %CDROM%\Software\IE7.exe /passive

Also in the version 9 example I'd suggest you add the missing closing double-quote.

#3
Martin H

Martin H

    Friend of MSFN

  • Member
  • PipPipPipPipPip
  • 802 posts
  • Joined 24-November 06
  • OS:none specified
Additionally, then 'start' is an internal command belonging to the NT Command Processor, and hence, cannot be called directly from RunOnceEx, but would instead need to be run like this 'cmd /c @start /wait xxxxx'(or cmd /q /c start /wait xxxxx).

However, you don't actually need that switch, since RunOnceEx "waits" by default...

/* Moved to Linux - Thanks for a nice stay all! */
Posted Image


#4
bookert2003

bookert2003
  • Member
  • 6 posts
  • Joined 15-May 09

Look!

Hello

I try to incorporate flash player 10(adobe version) and internet explorer7 but the two applications wont run during the install. I also want to install adobe v9 and that works ok. Does someone know what i do wrong with flash and IE7? I am kinda a noob with this so all the help is welcome.
<snip />
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\AdbeRdr910_nl_NL.exe /sPB /RS
<snip />
compare the above with these
REG ADD %KEY%\010 %CDROM%\Software\start /wait install_flash_player_10_active_x.exe /s
REG ADD %KEY%\025 %CDROM%\Software\IE7.exe /passive

Also in the version 9 example I'd suggest you add the missing closing double-quote.


Thanks Yzöwl that was the fault , i have added the two missing switches and added the double quotes and after that installation of flash and IE7 worked properly. I have problems with to other programs, but i will make a new thread for that cause its a different problem i think. Thanks again for your help Yzöwl.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users