#30667 - 2002-10-15 11:22 AM
AddProgramItem Problem ?? Can anybody help ?
|
sc00byd00byd00
Lurker
Registered: 2002-10-15
Posts: 2
Loc: Manchester, UK
|
Hey all,
I am new to this kix script thing and I am having a little difficulty understanding the language and what it does.
The problem I have is trying to add an Icon the "All Users" Program Group within an NT4 Machine, I have basically written a batch file to copy a tree of directories to every users machine, and then called the kix script to create the Icon to it;
ADDPROGRAMITEM("C:\CRAMER4\CRAMER.EXE", "Cramer4", "C:\CRAMER4\CRAMER.EXE", 0, "c:\cramer4", 0, 0, 1)
Now this works, on a 2000 machine, it copies itself to the "All Users" profile, but under NT, it copies itself to the "Administrator" profile (the one that I was currently logged on with)
Also, is there a way of creating a common program group and then inserting the Icon into it ? (From what I can see in the notes, there is nothing to say that the icon should be inserted into the program group that you have just created ?
Hopefully somebody can help me ??
Thanks in advance,
Scott
|
|
Top
|
|
|
|
#30670 - 2002-10-16 09:52 AM
Re: AddProgramItem Problem ?? Can anybody help ?
|
sc00byd00byd00
Lurker
Registered: 2002-10-15
Posts: 2
Loc: Manchester, UK
|
We've come accross this issue before, the problem lies in copying a link that one day, this guy turned his machine off and the whole system went down, we cou'dn't figure out why, until we started looking at the shortcuts on the machine.... it turned out that everymachine that had the install had a shortcut pointing to the exe file on one guys machine.
I can only imagine how slow his machine must have been going !!
Hense trying to write to the common program group.
Is there any script/function to give the user local admin privileges whilst the install runs and then remove them again later ?
Scott
------------------------------------------------- It aint the size of your car, its the size of your arm hangin out of it that counts
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 781 anonymous users online.
|
|
|