SCCM - MSI Installation context
Hello all,
I'm attempting to install a product via SCCM - my script installs the product fine when executed interactively (using a logged on admin account).
It also installs perfectly when I change the 'environment' settings in the SCCM package so that the program runs with user's rights - as long as the logged on user is also an admin of course...
So my question is can I adjust the MSI installation (using a transform) so that the 'stuff' carried out when installing the software in the users context is carried out when installing via SCCM and therefore in the system context?
I have already tried a number of things including adding the ALLUSERS=1 parameter to my command line.
Any help appreciated.....
Mos
I'm attempting to install a product via SCCM - my script installs the product fine when executed interactively (using a logged on admin account).
It also installs perfectly when I change the 'environment' settings in the SCCM package so that the program runs with user's rights - as long as the logged on user is also an admin of course...
So my question is can I adjust the MSI installation (using a transform) so that the 'stuff' carried out when installing the software in the users context is carried out when installing via SCCM and therefore in the system context?
I have already tried a number of things including adding the ALLUSERS=1 parameter to my command line.
Any help appreciated.....
Mos
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
mosquat
14 years ago
Posted by:
anonymous_9363
14 years ago
It *sounds* like there are Custom Actions set in the UI sequence which are not duplicated in the Execute sequence. Thus, when you run interactively (either on the machine itself, or with SCCM set to interact with the user) a UI is displayed, meaning that the CAs get executed. In "normal" distro mode - with no UI - the CAs are skipped, because they're not in the Execute sequence.
You can prove that by running 2 installs: one with a normal UI (MSIEXEC /i WHATEVER.MSI) and one with none (MSIEXEC /i WHATEVER.MSI /QN). If the latter produces a "broken" install....case proved, m'lud.
If this is a vendor-supplied MSI, create a transform and copy the rogue CAs to the Execute sequence. You may need to set the option such that it only executes once (in case the package ever gets run intercatively, the CAs may not tolerate being run more than once.)
You can prove that by running 2 installs: one with a normal UI (MSIEXEC /i WHATEVER.MSI) and one with none (MSIEXEC /i WHATEVER.MSI /QN). If the latter produces a "broken" install....case proved, m'lud.
If this is a vendor-supplied MSI, create a transform and copy the rogue CAs to the Execute sequence. You may need to set the option such that it only executes once (in case the package ever gets run intercatively, the CAs may not tolerate being run more than once.)
Posted by:
mosquat
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
mosquat
14 years ago
Getting no where with this...I created logfiles using the /L*v switches but on comparison could not really see any CAs that were being applied interactively but not when in the system context (i seached for text CUSTOM ACTION) - I'm sure that I was able to produce a broken installation yesterday using the /QN switch but this seems to work correctly today - must've been bleary eyed...
I've inserted any CAs that are missing from the 'Execute' sequence but present in the UI sequence (using a transform) hoping I'd get lucky (although there are actually more in the execute sequence) but the problem remains...
I have created log files and searched for the CA that is meant to configure custom properties and it has got the correct information logged (i.e. the components I have selected are marked as "True" and the server path is marked with the correct "\\servername\share" details) yet the components are not installed...but as far as I can tell the server details are being passed correctly...
Vendor hopes to get back to me tomorrow with some details but would like to hear from anyone who can shed some light/pass on some tips...
I've inserted any CAs that are missing from the 'Execute' sequence but present in the UI sequence (using a transform) hoping I'd get lucky (although there are actually more in the execute sequence) but the problem remains...
I have created log files and searched for the CA that is meant to configure custom properties and it has got the correct information logged (i.e. the components I have selected are marked as "True" and the server path is marked with the correct "\\servername\share" details) yet the components are not installed...but as far as I can tell the server details are being passed correctly...
Vendor hopes to get back to me tomorrow with some details but would like to hear from anyone who can shed some light/pass on some tips...
Posted by:
mosquat
14 years ago
Some additional info that may make sense to someone else....
installing this product silently appears to be based on a property called "ROLLOUT" which must be set to TRUE to suppress all UI windows - i.e. using the msi command /qn and specifying a valid server path for another property that requires input (SI) does not suppress the UI - it's not until ROLLOUT is used that the entire installation is silent.
installing this product silently appears to be based on a property called "ROLLOUT" which must be set to TRUE to suppress all UI windows - i.e. using the msi command /qn and specifying a valid server path for another property that requires input (SI) does not suppress the UI - it's not until ROLLOUT is used that the entire installation is silent.
Posted by:
mosquat
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
pjgeutjens
14 years ago
Posted by:
mosquat
14 years ago
ORIGINAL: VBScab
Eh? What difference does system context make? A property is a property is a property, irrespective of context.
So setting the property in a transform should work regardless of context...not sure why then the software installs perfectly when using this transform and executing the vbscript I'm using when logged on yet when executed via SCCM the additional components are not installed....it works again when I get SCCM to run the program with 'users rights' (as long as the logged on user is an admin)
Posted by:
mosquat
14 years ago
ORIGINAL: pjgeutjens
Are you sure this is nothing to do with having to add your property to the CustomActionData to make it available in deferred context?
PJ
I think this or something similar is required to make it work - I'm still learning the ropes tho really so it may take me a while to test this out ;-)
thanks (both) for your comments
Posted by:
Lucid
14 years ago
Posted by:
mosquat
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.