mhamer
asked on
SCCM Program issue
I am trying to link two program's (same package)
they both work independently but wont work when set to use "all ways run this programe first"
so.. in package A, i have three programes set task1 task2 and uninstall
I select task two for the advertisement, and within program properties select always run this programe first and choose "task1"
looking at the error log, (error 1) generic
also Task1 runs as user task2 runs as admin (could this be the fault??)
thank you
they both work independently but wont work when set to use "all ways run this programe first"
so.. in package A, i have three programes set task1 task2 and uninstall
I select task two for the advertisement, and within program properties select always run this programe first and choose "task1"
looking at the error log, (error 1) generic
also Task1 runs as user task2 runs as admin (could this be the fault??)
thank you
If Task1 requires aditrative permissions then this is the problem, can you run task 1 by itself as a user and see if it works or not
ASKER
Yes it works
they both work independently
task one creats a folder aqnd populates it in the users home drive , the admin account doesnt have access so run as user.
the shortcut is done in the second task and is put in "all users" the user doesnt have rights to add to "all users" so its done via admin rights.
there is no flexibility in changing the rights.
so i need to run the folder creation first then the shortcut creation, im new to SCCM would task sequence be of any use?
they both work independently
task one creats a folder aqnd populates it in the users home drive , the admin account doesnt have access so run as user.
the shortcut is done in the second task and is put in "all users" the user doesnt have rights to add to "all users" so its done via admin rights.
there is no flexibility in changing the rights.
so i need to run the folder creation first then the shortcut creation, im new to SCCM would task sequence be of any use?
no Task Sequence for OS deployment.
what does the SCCM says in the status message, what are the errors related to the advertisment.
what does the SCCM says in the status message, what are the errors related to the advertisment.
You can also use Task Sequences for deploying software.
Try to create a task sequence as you can also choose the account which executes the specific step
Try to create a task sequence as you can also choose the account which executes the specific step
ASKER
the error is just install excited with error 1 seek help from vendor of the software (words to that effect
nothing helpful. plus it works when run on its own so the actual install is fine
nothing helpful. plus it works when run on its own so the actual install is fine
a workaround is to execute the application from an script and instead of the application command line you enter the script as program command line.
e.g.
set objShell = CreateObject("Wscript.Shel l")
objShell.Run "YourSetup.exe",1,false
Save the vbScript (.vbs) in the same directory and point the programm to execute the script (cscript.exe startinstall.vbs)
The script will always return error code 0 as it exectued successfully
e.g.
set objShell = CreateObject("Wscript.Shel
objShell.Run "YourSetup.exe",1,false
Save the vbScript (.vbs) in the same directory and point the programm to execute the script (cscript.exe startinstall.vbs)
The script will always return error code 0 as it exectued successfully
ASKER
that wont work for my situation
returning a 0 instead of a 1 just means the second task has a chance of running not the first one
(unless im mistaken :-) )
returning a 0 instead of a 1 just means the second task has a chance of running not the first one
(unless im mistaken :-) )
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER