MSFN Forum: Software Installation Selection - MSFN Forum

Jump to content



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

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

#41 User is offline   Geckotek 

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

Posted 18 November 2003 - 09:50 AM

IcemanND, on Nov 18 2003, 10:46 AM, said:

@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?

I'm curious; before you posted that you "replaced" the environment variable, I was using the them and they were working. Or maybe that was the .vbs version.

If you say you replace them, do you replace them with the actual value of %systemdrive% or just a static value of C:\?

I'll give it a shot w/o the abcpy.ini.


#42 User is offline   japa 

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

Posted 18 November 2003 - 09:51 AM

you mean you clould use it if you used C:\ instead of %systemdrive%?

I saw in your installs.ini you used C:\ instead of %systemdrive% that's ok then?

#43 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 - 10:01 AM

No it replaces the environment variable with the actual value. but the way it was searching for environment variables it would only find the first one, and without looking i think it would just completely ignore the line if there was more than one. I'm working on that right now.

@gekotek - as it turns out yes the environment variables were only working in the VBS version. They have to be manually handle in the EXE.

@japa - yes you can use direct reference to the drive letters. and at the time of this posting you can use environent variables as long as there is only one in the install= string.

#44 User is offline   japa 

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

Posted 18 November 2003 - 10:14 AM

tnx alot m8 :) for everything :rolleyes:

#45 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 - 11:16 AM

Program fixed to replace all environment variables in the install= string.

#46 User is offline   Geckotek 

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

Posted 18 November 2003 - 11:20 AM

Ok, here is what I've found:

@IcemanND - When I use Install.exe to launch Photoshop (no answer file) you can see in Task Manager that the setup.exe starts, but does nothing. If I kill the install.exe process, the Photoshop setup continues. So it appears they are conflicting or something.

@japa - I found out more about the -f1 switch. It's used only to direct the setup to an alternate .iss file. If your setup.iss is in the same directory as the setup.exe, it's not needed at all. So, my new line is just:
=%systemdrive%\install\Applications\PowerDVD\Setup.exe -s

If you do need -f1, it's setup.exe -s -f1%path%\setpu.iss (no spaces.)


I guess you've been optimizing the code a bit. Went from 64kb -> 80kb -> 64 kb -> 60kb. :)

#47 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 - 11:51 AM

@geckotek - my only guess is that photoshop does not like being installed in a shelled environment. I had that problem with one of the apps I had been trying to install. The only solution I found was to have it install after a reboot. I'm still looking into it but at this point i'm not very hopeful.

Just had another thought. if you call a CMD script from installs.exe and the launch the installer from the CMD script does it work?

#48 User is offline   Geckotek 

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

Posted 18 November 2003 - 06:09 PM

How about making the application name bold?

Also, the latest version is ignoring the installorder. It starts w/ my 01 item (which is actually listed toward the end....then it proceeds through the items listed right after it, then goes to the beginning.

It also is giving me an error:

Run-Time Error '13':
Type Mismatch

#49 User is offline   Geckotek 

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

Posted 18 November 2003 - 11:14 PM

Ok, think my problem w/ install order is I was using "01" instead of "1".

The error happens during the install of Office 2003. Here's my code:

Installs.ini
[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


Office appears to install, but something it does at the end Installs.exe doesn't seem to like.


Also, calling Photoshop from a .cmd has the same issue. I have to kill Installs.exe process for the Photoshop install to continue.

I've tried the postreboot option, but it doesn't seem to work. The reg file is never entered from what I can tell. I manually ran the reg file and rebooted and all was well. Here is my code:

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



ALSO, on a possibly related note :D, The register option didn't work for me. Here's more code:
Installs.ini
[Nero Burning Rom 6.0]
install=%systemdrive%\install\Applications\Nero\Nero.exe /silent /noreboot
selected=0
visible=1
active=1
installorder=18
register=%systemdrive%\install\Applications\Nero\NeroReg.reg,before
popdesc=Nero Burnig Rom 6.0
boxdesc=CD/DVD burning software


NeroReg.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Ahead\Nero - Burning Rom\Info]
"User"="Gordon W Smith"
"Company"="Geckotek Systems"
"Serial6"="removed"


Again, it seems to have not run the reg file.

:) Thanks for all your work!!!! :rolleyes:

#50 User is offline   Geckotek 

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

Posted 19 November 2003 - 12:51 AM

Sorry, one more thing.

MSN Messenger 6.1 doesn't seem to run from your prog either. It appears to, shows in the progression. But then it's not really there. I copied the command line from my Installs.ini and ran it in a CMD window and it installed correctly.

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


Any thoughts?

#51 User is offline   IcemanND 

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

Posted 19 November 2003 - 08:32 AM

Wll messenger is at least one I can test. So I'll try it and see what I come up with. It's going to take a little while I have a work project thats going to keep me busy this morning.

#52 User is offline   zbeta 

  • c:\>debug M$
  • Pip
  • Group: Members
  • Posts: 79
  • Joined: 17-November 03

Posted 19 November 2003 - 10:54 AM

:) keep up the good work!

can you make extra .. button next to sw u selected .. ... it can ex. open *txt, *.exe etc..

example like this:

Yahoo Messnger 4.xxx [R]

[R] stand for *reg file





heres one i made with Autoplay Menu Builder... the interface created by myself..

Attached File(s)

  • Attached File  sw.jpg (62.33K)
    Number of downloads: 204


#53 User is offline   Geckotek 

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

Posted 19 November 2003 - 10:58 AM

Yeah, that leads me to my next thoughts. I'd like to walk up to a PC that already has XP installed, pop in my DVD, the XP menu pops open w/ an extra menu item.....Install Software. That item would open Install.exe using a custom installs.ini that points to install all software from the CD-ROM.

#54 User is offline   IcemanND 

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

Posted 19 November 2003 - 11:09 AM

@zbeta - I don't quite get waht you mean. What exactly is the button for?

@gekotek - if you can modify the xp menu screen to include said line I could modify the program so that it included the detectcd program and supplied its own environment variable for the cd. it would just run with a switch to say it was running from cd maybe, or possibly autodetect but that might be more of a headache than it is worth.
I haven't ever tried to modify the internals of xp components like that as I have to supply my customers with a standard install, I just don't want to wait all day for the installs thus this program.

#55 User is offline   zbeta 

  • c:\>debug M$
  • Pip
  • Group: Members
  • Posts: 79
  • Joined: 17-November 03

Posted 19 November 2003 - 11:43 AM

in my example..

after you installed MSN messenger... if u want to import ur own settings for msn... just simple click on [R] ..it will import a reg file to registy database. it dont have to be a button for import reg...it could be a button ..to run anything u want (open a folder, run a file, etc)

#56 User is offline   Geckotek 

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

Posted 19 November 2003 - 11:53 AM

zbeta, on Nov 19 2003, 12:43 PM, said:

in my example..

after you installed MSN messenger... if u want to import ur own settings for msn... just simple click on [R] ..it will import a reg file to registy database. it dont have to be a button for import reg...it could be a button ..to run anything u want (open a folder, run a file, etc)


That's the whole idea behind the "Register" line.

(Which isn't working at the moment.)

#57 User is offline   IcemanND 

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

Posted 19 November 2003 - 12:04 PM

@zbeta - gotcha. That's the idea behind the register line as geckotek mentioned. Which I'm currently trying to figure out why it does not work.

#58 User is offline   IcemanND 

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

Posted 19 November 2003 - 01:23 PM

@geckotek - registry import is fixed. it was ignoring environment variables and not properly detecting before/after.

Try out 2.2.14
http://www.MSFN.org/board/index.php?showto...topic=11061&st=

#59 User is offline   tinnef 

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

Posted 21 November 2003 - 05:03 AM

It's working great, and I haven't found any bugs lately.
But, I had an idea for an additonal feature: using radio buttons, where you can pick one option or the other.
So for instance you have one option for a silent install of some program, and another for a standard install

I don't know if it's possible, and how difficult it is to implement, but I think it would be a useful addition.

#60 User is offline   SteveB 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 21-November 03

Posted 21 November 2003 - 06:52 AM

Hi, new here and been reading this post. and others. However, my current requirement is to be able to

create unattended XP install - done works tickety boo with all the excellant advise onnthis forum.

However, I always build my PCs in partitions ie

c - system
d - apps
e - data

From the unattended help i have managed to relocate 'documents and settings' to my e drive.

However, I have not found anywhere to alter the defualt install path at build time.

i then discovered this amazing thread. Now down to my question/request

Can the app be amended to include where the app is to be installed to ie

d:\ 'appname'

If so then my life will be complete

SteveB

Share this topic:


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