ozraelised
(Getting the hang of it)
2003-11-20 05:10 AM
Installing software by group

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





Radimus
(KiX Supporter)
2003-11-20 05:23 AM
Re: Installing software by group



if ingroup('some group') and not exist('c:\program files\installed program\program.exe')
shell '\\server\share\folder\program installer.exe'
endif


Howard Bullock
(KiX Supporter)
2003-11-20 05:23 AM
Re: Installing software by group

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.


ozraelised
(Getting the hang of it)
2003-11-20 05:31 AM
Re: Installing software by group

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.



Howard Bullock
(KiX Supporter)
2003-11-20 05:35 AM
Re: Installing software by group

I never tried... Do it and see.

A simple test will let you know.