MSFN Forum: Software Installation Selection - MSFN Forum

Jump to content



  • 10 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Software Installation Selection Installs.EXE Rate Topic: -----

#21 User is offline   Shotgun 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 462
  • Joined: 07-November 03

  Posted 17 November 2003 - 09:19 PM

IcemanND could you post the updated files!
or ...
R they already posted in an edited post?

So much bug reporting from tinnef and your replies got me lost to the whereabouts of the updated, latest files (exe & ini)

Other than that, Superbly EXCELLENT job!

Thanks! :)


#22 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 November 2003 - 10:46 PM

@shotgun & others who have asked the updated program will replace the previous version in the beginning post.

Current released version 2.2.0.8

#23 User is offline   Vito Corleone 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 19-October 03

Posted 18 November 2003 - 12:20 AM

Hi,
I want to install the Software from the CD:
%CDROM%\apps\.... donīt work. How can I set the varb %cdrom%

BYE
vito

#24 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 November 2003 - 12:30 AM

You have a couple of options depending upon what your after.
You can set permenant cdrom variables for use anytime via this program.
or use any of the many cmd scripts post here to create a temporary variable.

I have not tried it yet but you should also be able to use relative paths from the directory which installs.exe resides.

i.e.
if installs.exe resides at e:\ then
install=.\install\acrobat\ar6.msi /qb
should run the install from e:\install\acrobat\

#25 User is offline   Vito Corleone 

  • Newbie
  • Group: Members
  • Posts: 26
  • Joined: 19-October 03

Posted 18 November 2003 - 12:45 AM

Thanks
but i have the varb %cdrom% already in windows. In Batfiles %CDrom% works but the ini not.

#26 User is offline   graf_morpheus09 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 23-October 03

  Posted 18 November 2003 - 01:19 AM

Hey Guys :)

I see, you all write Text, fixed Errors, try to help. I would like to help too. But i don`t really understand, what this program/ini do. Ho can explain it? I think, if so much people would help, this prog must be VERY useful :rolleyes:

#27 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 November 2003 - 01:33 AM

Added:
5. pass command line variable for user selected INI, so that program can be used at different points in an unattended install with different install options depending upon contents of selected INI.
It will default to INSTALLS.INI if no command line variables entered. Custom INI must exist in same directory as EXE.
i.e. installs.exe myinstall.ini

and translation of environment variables used in INI
so %systemdrive%\installs\acrobat\ar6.msi will now translate to
c:\installs\acrobat\ar6.msi

#28 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 November 2003 - 01:39 AM

@graf - The idea is that you put your applications and optional switches into the INI file and when you run INSTALLS.EXE it will display the programs you entered and then you can select the applications you want to install click start and away it will go.

As you can see it is a work in progress. I think it has been updated 3 or 4 times in the last 24 hours. And there are still more options that I want to put in and have been suggested/requested which will be added as I have time.

The current version is in the first post, along with a description of the INI settings, and in 5th post is a sample INI file you can download with the applications I have tested it with. But it should really work with anything.

#29 User is offline   graf_morpheus09 

  • Junior
  • Pip
  • Group: Members
  • Posts: 88
  • Joined: 23-October 03

  Posted 18 November 2003 - 01:51 AM

This sounds very cool, very useful and save much time! I hope you are guick ready with the prog.
The World need it, the World cannot live without it :rolleyes:

Good Luck :)

#30 User is offline   tinnef 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 19-October 03

Posted 18 November 2003 - 03:44 AM

I'm afraid I found another one: It seems that the Active function doesn't work.

If I understand the ini format correctly, Hotfixes should be visible, selected, and can not be checnged. It is visible, and selected, but it still can be changed. I haven't tested if it will run the command or not, but it is still possible to toggle it.

[Hotfixes]
install=%systemdrive%\install\hotfix.cmd
selected=1
visible=1
installorder=40
active=0


#31 User is offline   Shotgun 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 462
  • Joined: 07-November 03

Posted 18 November 2003 - 07:07 AM

@IcemanND

Thanks! :)

I really didn't know if the post was being updated, or if the program updates were being posted as the thread progressed. Thanks for pointing that out. I'll be testing your program today. Keep up the good work!

#32 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 November 2003 - 08:32 AM

@tinnef - active switch fixed, thanks.

Also added:
under [Applicatiion]
boxdesc - displays a description of program under program name next to checkbox

under [INSTALL WINDOW SETUP]
cblineht - form option - sets the height of the check box field. 185=1 line, 370=2 line, 555=3 lines (default), can use and value but 185 per line seems to work best.

post update v2.2.12 to original post.

#33 User is offline   japa 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 25-October 03

Posted 18 November 2003 - 08:55 AM

should you use the register option like this?

register=c:\install\apps\zonealarm.reg,[after]

#34 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 November 2003 - 09:07 AM

no brackets.
register=c:\install\apps\zonealarm.reg,after

#35 User is offline   Geckotek 

  • Slave to M$
  • PipPip
  • Group: Members
  • Posts: 255
  • Joined: 21-June 03

Posted 18 November 2003 - 09:14 AM

Ok, I'm testing the .exe version for the first time. I used version v2.2.0.10.

It was running fine until I hit Photoshop 7 and it froze up. Here is my .ini:

;Apps Install INI
;INI file Format
;
;  [Applcation name as displayed in program]
;  Install= path to application install + switches
;  selected=0,1  0 not selected by default, 1 selected by default
;   (if not specified defaults to 0)
;  visible=1,0   1 visible on form, 0 not visible on form 
;   (if not specified defaults to 1)
;   if not visible but selected application will still install
;  active=1,0    1 - Visible and able to change, 0 - greyed out, visible but not able to change
;   (if not specified defaults to 1)
;  installorder=##  order in wich application is installed starting with 1 
;  (if no order is selected applications will install in listed order in INSTALL.INI
;   any application without an INSTALLORDER will install after applications
;   with INSTALLORDER set.)
;  register=register.reg,[before/after]  (path\name of registry file for registration of application
;       will be installed with "regedit /s path\filename")
;  postreboot=0,1   1 add to runonce and install after reboot, 0 install now (default)
;  displayorder=##  order in which applications are displayed on screen
;  (if no order is selected applications will displayed in listed order in INSTALL.INI
;   any application without a DISPLAYORDER will be listed after applications
;   with DISPLAYORDER set.)
;  saveinstall=0,1  0 delete installation folder after install, deletes contents of folder and 
;  removes folder containing installer listed in INSTALL. defaults to 1 to leave.
;  killprocess=processname,wait  Process to kill at end of install, wait in seconds before killing, 
;      will not work with POSTREBOOT option
;  popdesc=description of program which mouse rests over, text tip box.
;
; NOTE: application will be listed on screen in the order they are entered into
; the INSTALL.INI file. if displayorder is not set.

[INSTALL WINDOW SETUP]
Title=Software Installation Selection
Prompt=Select Software for Install:        
Button=Start Installation
; Specifies left side position of window
Left=20
; specifies top position of window
Top=20
;specifies width of window in twips
Width=12000
; specifies height of window if left blank the box will be resized to display all items in twips
;Height=8000
; number of columns to display program list
numcolumns=4
;  restart=1,0   1 Restart after installs, 0 do not restart, defaults to 1  
restart=0
;  Autostart=1,0  1 - does not wait for user to click button starts upon loading and waiting for delay (default 0)
Autostart=0
;  Delay - length of time in seconds to wait before starting script
delay=0
; shutdowntimer=ss - number of seconds to wait before installs.exe closes after finishing installs or user exits, defaults to 10
shutdowntimer=10 


[Command Here Power Toy]
install=%systemdrive%\install\Powertoys\CmdHerePowertoySetup.exe /S /v/qn
selected=0
visible=1
installorder=02
active=1
popdesc=Command Here Power Toy
;;boxdesc=Adds "Open Command Window Here" in right click menu

[Image Resizer Power Toy]
install=%systemdrive%\install\Powertoys\ImageResizerPowertoySetup.exe /S /v/qn
selected=0
visible=1
installorder=03
active=1
popdesc=Image Resizer Power Toy
;boxdesc=Enables resize of images by right click menu option

[Power Calculator Power Toy]
install=%systemdrive%\install\Powertoys\PowerCalcPowertoySetup.exe /S /v/qn
selected=0
visible=1
installorder=04
active=1
popdesc=Power Calculator
;boxdesc=Installs a graphing and conversion calculator

[Slide Show Power Toy]
install=%systemdrive%\install\Powertoys\SlideshowPowertoySetup.exe /S /v/qn
selected=0
visible=1
installorder=05
active=1
popdesc=Slide Show Power Toy
;boxdesc=Installs a wizard to create a slide show of your pictures

[Task Switcher Power Toy]
install=%systemdrive%\install\Powertoys\TaskswitchPowertoySetup.exe /S /v/qn
selected=0
visible=1
installorder=06
active=1
popdesc=Task Switcher Power Toy
;boxdesc=Enhances the existing Alt + Tab application switching

[TweakUI Power Toy]
install=%systemdrive%\install\Powertoys\TweakUiPowertoySetup.exe /S /v/qn
selected=0
visible=1
installorder=07
active=1
popdesc=TweakUI Power Toy
;boxdesc=Provides access to hidden system settings

[.NET Framework v1.1]
install=%systemdrive%\install\NetFramework\netfx.msi /QN
selected=0
visible=1
installorder=08
active=1
popdesc=.NET Framework v1.1
;boxdesc=Needed for a few applications ie: SmartBarXP

[DirectX 9.0b]
install=%systemdrive%\install\DirectX9b\DX9NTopk.exe
selected=0
visible=1
installorder=09
active=1
popdesc=DirectX 9.0b
;boxdesc=Upgrades DirectX 8.0 to 9.0b...needed for games

[Windows Media Player 9]
install=%systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N
selected=0
visible=1
installorder=12
active=1
popdesc=Windows Media Player 9
;boxdesc=Upgrades Windows Media Player 8 to 9

[MSN Messenger 6.0]
install=%systemdrive%\install\MSN\MsnMsgs.msi /QN
selected=0
visible=1
installorder=13
active=1
popdesc=MSN Messenger 6.0

[AOL Instant Messenger 5.2]
install=%systemdrive%\install\Applications\AIM\Install_AIM.exe /s
selected=0
visible=1
installorder=14
active=1
popdesc=AOL Instant Messenger

[Ad-Aware 6]
install=%systemdrive%\install\Applications\AdAware\aaw6181.exe /s
selected=0
visible=1
installorder=15
active=1
popdesc=Ad-Aware 6
;boxdesc=Cleans spyware from your system

[Adobe Acrobat Reader 6.0]
install=%systemdrive%\install\applications\AdobeReader6\ar6.msi /QN
selected=0
visible=1
installorder=16
active=1

[Diskeeper 8.0]
install=%systemdrive%\install\Applications\diskeeper\Setup.exe /s /v/qn
selected=0
visible=1
installorder=17
active=1
popdesc=Diskeeper 8.0
;boxdesc=A powerful disk defragmenter

[Nero Burning Rom 6.0]
install=%systemdrive%\install\Applications\Nero\Nero.exe /silent /noreboot
selected=0
visible=1
installorder=18
active=1
popdesc=Nero Burnig Rom 6.0
;boxdesc=CD/DVD burning software

[Kazza Lite 2.43]
install=%systemdrive%\install\Applications\KazaaLite\klite.exe /silent
selected=0
visible=1
installorder=19
active=1
popdesc=Kazza Lite
;boxdesc=A spyware free music and software filesharing program

[Kazza Lite Codec Pack]
install=%systemdrive%\install\Applications\KazaaLite\klcodec.exe /silent
selected=0
visible=1
installorder=20
active=1
popdesc=Kazza Lite Codec Pack
;boxdesc=Needed to play certain video formats ie: DivX

[Google Toolbar]
install=%systemdrive%\install\Applications\Google\GoogleToolbarInstaller.exe /q
selected=0
visible=1
installorder=21
active=1
popdesc=Google Toolbar
;boxdesc=Google search toolbar and pop-up blocker

[WinRAR 3.20]
install=%systemdrive%\install\Applications\WinRAR\wrar320.exe /s
selected=0
visible=1
installorder=22
active=1
popdesc=WinRAR
;boxdesc=Support for .zip and .rar files (similar to WinZIP)

[Microsoft Office 2003]
install=%systemdrive%\install\Applications\Office2003\setup.exe /qb-
selected=0
visible=1
installorder=23
active=1
popdesc=Microsoft Office 2003
;boxdesc=Installs Office files ie: Word, Excel, Power Point

[Photoshop 7]
install=%systemdrive%\install\Applications\Photoshop\setup.exe
selected=0
visible=1
installorder=24
active=1
popdesc=Photoshop 7
;boxdesc=Powerful image editor

[Cyberlink PowerDVD 5.0]
install=%systemdrive%\install\Applications\PowerDVD\Setup.exe -s %systemdrive%\install\Applications\PowerDVD\setup.iss
selected=0
visible=1
installorder=25
active=1
popdesc=Cyberlink PowerDVD 5.0
;boxdesc=DVD Playing software

[Norton AntiVirus 2004]
install=%systemdrive%\install\Applications\NAV2004\NAVSetup.exe /QN
selected=0
visible=1
installorder=28
active=1

[Registry Tweaks]
install=%systemdrive%\install\regfiles2.cmd
selected=1
visible=0
installorder=01
active=1
popdesc=Registry Tweaks
;boxdesc=Registry Tweaks

[Microsoft JavaVM]
install=%systemdrive%\install\JavaVM\MSJavx86_3809full.exe /Q:A /R:N
selected=1
visible=0
installorder=10
active=1
popdesc=Microsoft JavaVM

[Microsoft JavaVM Update]
install=%systemdrive%\install\JavaVM\MSJavx86_3810update.exe /Q:A /R:N
selected=1
visible=0
installorder=11
active=1
popdesc=Microsoft JavaVM Update

[Main.cmd]
install=%systemdrive%\install\Main.cmd
selected=1
visible=0
installorder=26
active=1

[Hotfixes.cmd]
install=%systemdrive%\install\Hotfixes.cmd
selected=1
visible=0
installorder=27
active=1


Photoshop uses no switches but uses abcpy.ini to install:

;***************************************************************
;OEM Installation Options
;***************************************************************
[OEM Install]
DisplayWelcomeDlg=NO
DisplayEULA=NO
DisplayXPDialog=NO
DisplayTypeOfInstallDlg=NO
DisplaySelectDestDirDlg=NO
DisplayCustomDlg=NO
DisplayUserInfoDlg=NO
DisplayConfirmRegDlg=NO
DisplayStartCopyDlg=NO
DisplayFinishDlg=NO
DisplayFinalMessage=NO
DisplayRebootDlg=NO
ProgGroupName=
DefaultDestDir="C:\Program Files\Adobe\Photoshop7"
UserName="Gordon W Smith"
UserCompanyName="Geckotek Systems"
UserSerialNumber=Removed
DisplayBackGround=
DisplayProgressBar=
ProgressBarStart=
ProgressBarEnd=


Any thoughts on why it would have hung up?

#36 User is offline   japa 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 25-October 03

Posted 18 November 2003 - 09:24 AM

install=%systemdrive%\install\Applications\PowerDVD\Setup.exe -s %systemdrive%\install\Applications\PowerDVD\setup.iss

isn't going to work..

dunno what's wrong with ps but i thought it was with a setup.iss file??

btw: can you even run the setup.iis method from runonce? or should you make a batch file for it.. thought DaveXP mentioned that

#37 User is offline   Geckotek 

  • Slave to M$
  • PipPip
  • Group: Members
  • Posts: 255
  • Joined: 21-June 03

Posted 18 November 2003 - 09:34 AM

Why won't it work?

Photoshop 7 uses the abcp.ini file. I've been installing it this way for a while now.

I did a search and couldn't find any posts from DaveXP about using .iss files in runonce. I can't imagine why they wouldn't work in runonce.

#38 User is offline   japa 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 25-October 03

Posted 18 November 2003 - 09:41 AM

well he posted this :

Quote

Moving on to InstallShield applications how to install. To install a InstallShield Application silently you need a setup.iss to do it as you can't put what you would put in the batch file in the registry we are going to use a batch file to install these application.
in here http://www.MSFN.org/board/index.php?showto...53&hl=runonceex

and if it would work then it should be

Quote

install=%systemdrive%\install\Applications\PowerDVD\Setup.exe -s -f1"%systemdrive%\install\Applications\PowerDVD\setup.iss"

it think

#39 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 November 2003 - 09:46 AM

@japa -

Quote

install=%systemdrive%\install\Applications\PowerDVD\Setup.exe -s %systemdrive%\install\Applications\PowerDVD\setup.iss


I'll have to update it the program. It currently only replaces one instace of a environment variable in the install path. I'll post when its updated. So your line would actually not change the way I have it currently written.

@gekotek - does it work if you don't use the abcpy.ini for the silent install? So if you have it launch as a normal guided installer will it run through?

#40 User is offline   Geckotek 

  • Slave to M$
  • PipPip
  • Group: Members
  • Posts: 255
  • Joined: 21-June 03

Posted 18 November 2003 - 09:47 AM

That's RunOnceEX, not RunOnce. The difference is I'm using RunOnce to call the install.exe so I can run any command windows scripting can handle inside install.exe.

I'll have to check up on that -f1 switch, but according to the "Application Switches" thread, they didn't use it.
http://www.MSFN.org/board/index.php?showto...indpost&p=59624

Share this topic:


  • 10 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • 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