MSFN Forum: If A is selected, then B should be ... what ? - MSFN Forum

Jump to content



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

If A is selected, then B should be ... what ? Rate Topic: -----

#1 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

  Posted 26 December 2004 - 02:24 PM

Hi folks.

Read thru the change requests and found some of you wishing for an option to 'exclude' applications when others are selected.

We know how dependencies work. If you select a program A, which is dependent on another program A, which isn't selected, then A get's selected too. A's parent would also get selected, until no dependencies are left.
The same with deselection. I called that functionality 'dependecies'

Now on to 'exclusions':

The requested functionality seems to be the opposite to dependencies. If program A is selected, program B should be deselected - then follow the deselection rules of 'dependencies', right ?

All progs that got deselected in this step should be disabled too.

If A is deselected again, then enable all progs, that got deselected.

Any additions ?


#2 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 26 December 2004 - 10:06 PM

sounds good to me

#3 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 26 December 2004 - 10:07 PM

ya, sounds good to me too :)

#4 User is offline   dlevens 

  • Member
  • PipPip
  • Group: Members
  • Posts: 101
  • Joined: 07-September 04

Posted 28 December 2004 - 12:08 AM

I think that would work for me as well. The idea being if someone selected office 2003 full install, then tried to select office 2003 word only then it would check work only and remove the check from office 2003 full install.

If possible it would be even better if a user selected office 2003 full install then office 2003 word only would be greyed out.

Dennis

#5 User is offline   blinkdt 

  • Somewhat Knowledgeable
  • PipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 30-September 03
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 28 December 2004 - 02:06 PM

One more suggestion, don't know if this functionality already exists:

When the WPI opens the user has the option to simply exit, creating no RunOnce menu. Fair enough.

But if the user selects ANYTHING from the menu then the associated installer files are required. Problem is, I have my files packed as an SFX and only need to unpack if options are selected. So here's the dilemna: can a menuless WPI entry be created at the start of the process, one that does not appear on the WPI menu itself but is activated if ANY menu items are selected? In my case, this entry would be used to unpack the SFX prior to running the RunOnce (if the entry appears in RunOnce, e.g. "Extracting installation files," that's OK by me). A second hidden WPI entry that would appear at the end of RunOnce--to clean up the install files--would be most useful.

Or should I just use the already excellent functionality you have built into WPI to create two additional entries, ensure that they are selected if ANY of the other items are selected, and live with a larger WPI menu? Would be nice if they did not show up in the WPI interface. :thumbup

#6 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

Posted 28 December 2004 - 04:24 PM

@blinkdt

This has nothing to do with this thread's context. There's a pinned thread in the forum for change requests and wishes. Post your message there (I use that thread for inspiration).

BTW: nice change request. I'll put 'hidden (forced install) programs' on my list.

#7 User is offline   blinkdt 

  • Somewhat Knowledgeable
  • PipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 30-September 03
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 28 December 2004 - 04:51 PM

Roger that, I'm getting a little punchy here from lack of sleep and not paying attention. Hope to post some results in the appropriate thread soon.

#8 User is offline   a06lp 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 976
  • Joined: 19-August 04

Posted 28 December 2004 - 05:58 PM

hasi001, on Dec 28 2004, 06:24 PM, said:

I'll put 'hidden (forced install) programs' on my list.

umm...

isn't that already in WPI - from before you even started working on it!
forc[pn]=['false'] or forc[pn]=['true']

that's what that does...no?

#9 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

Posted 28 December 2004 - 06:01 PM

of course. but he wants the apps to be hidden (not shown on UI)

#10 User is offline   sai 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 25-November 04

Posted 30 December 2004 - 12:23 PM

sounds good to me,thanks!
You real do it !!Thanks for your achieving my request
but....I dont know where problem is.
I cant use the funtions,I use WPI 3.2.1
could u help me to find problem as fllows:
-----------------------------------------------------
prog[pn]=['M$ OfficeXP SP3 - self']
uid[pn]=['officeS']
excl[pn]=['officeF']
pn++

prog[pn]=['M$ OfficeXP SP3 - full']
uid[pn]=['officeF']
excl[pn]=['officeS']
pn++
-------------------------------------------------------
I already found where to modify the text color
It is wpi.css
for somebody who want to modify color like me

This post has been edited by sai: 30 December 2004 - 12:37 PM


#11 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,338
  • Joined: 02-December 03

Posted 30 December 2004 - 12:33 PM

go to config.js


green, red, blue, purple

<font color="#00FF00"><b>Prepare.cmd</b></font>
<font color="#FF0000"><b>Prepare.cmd</b></font>
<font color="#0000FF"><b>Prepare.cmd</b></font>
<font color="#9966FF"><b>Prepare.cmd</b></font>

#12 User is offline   sai 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 25-November 04

Posted 30 December 2004 - 01:47 PM

thank for your answer
but it is possible to using different version
I couldnt find it in my wpi 2.3.1
but I already found it in wpi.css
thanks again

#13 User is offline   hasi001 

  • Coder
  • PipPipPip
  • Group: Members
  • Posts: 324
  • Joined: 27-September 04

Posted 31 December 2004 - 01:45 AM

@sai

Please note: excl doesn't work yet.It has no effect. It's just there. I'm working on that thing right now, but it takes more time, than i planned (it's always the same).

#14 User is offline   sai 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 25-November 04

Posted 31 December 2004 - 07:56 AM

I get it @@"
because I saw your post and program.js
I suppose you are already done with the function
thanks for your answer

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