Page 1 of 1 1
Topic Options
#108455 - 2003-11-20 05:10 AM Installing software by group
ozraelised Offline
Getting the hang of it

Registered: 2002-12-02
Posts: 59
Loc: Albury
Hi,

I prepared an EXE file that I would like to deploy according to group membership. The EXE file located on a share folder.

Do i add to my login.bat a line were I call the KiXtart scripts to run? (I am sure that yes)

In the script itself I am going to use:

InGroup option with the IF else.
IF users are in the group then I will say SHELL and have the path to the EXE file.

Am I in the right direction?

Thank you




Top
#108456 - 2003-11-20 05:23 AM Re: Installing software by group
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL


if ingroup('some group') and not exist('c:\program files\installed program\program.exe')
shell '\\server\share\folder\program installer.exe'
endif
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#108457 - 2003-11-20 05:23 AM Re: Installing software by group
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Does your login.bat currently execute KiXtart + script? If it does then you will edit your existing KiXtart script and add:
Code:
if Ingroup("xyz")
shell "%0\..\program.exe"
endif



the %0\..\ executes the EXE from the same directory where your login.bat resides.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#108458 - 2003-11-20 05:31 AM Re: Installing software by group
ozraelised Offline
Getting the hang of it

Registered: 2002-12-02
Posts: 59
Loc: Albury
Guys I am sorry that I lead you. I didn't provide you with
the correct information.
The file that I want to install is an MSI file that I created by using Disco32.exe, My What I whated to know is:
Can I run it like an exe file the same way I asked before?

Please fogive me for my s.... mistake, I get so excited eveytime I learn something new that my brain stops.

Thank you.


Top
#108459 - 2003-11-20 05:35 AM Re: Installing software by group
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I never tried... Do it and see.

A simple test will let you know.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.054 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org