|
|
|||||||
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 |
||||||||
|
|
|||||||
if ingroup('some group') and not exist('c:\program files\installed program\program.exe') shell '\\server\share\folder\program installer.exe' endif |
||||||||
|
|
|||||||
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") the %0\..\ executes the EXE from the same directory where your login.bat resides. |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
I never tried... Do it and see. A simple test will let you know. |