Disabling self repair for non privileged user
Could any one tell me how to disable self repair for non privileged user but it should be enabled for administrator ?
0 Comments
[ + ] Show comments
Answers (10)
Please log in to answer
Posted by:
AngelD
16 years ago
I can't say that you can.
A repair is performed when entrypoints are executed to check for broken components, if one is found a repair will be performed. You could remove every entrypoint in the package thus potential prevent a repair from occuring.
A repair could be performed from the command line with the /f switch using msiexec.exe.
A repair is performed when entrypoints are executed to check for broken components, if one is found a repair will be performed. You could remove every entrypoint in the package thus potential prevent a repair from occuring.
A repair could be performed from the command line with the /f switch using msiexec.exe.
Posted by:
blacklisted_packager
16 years ago
I dont know whether this will help you , but why dont you try using AdminUser Property to sequence an immediate custim action to terminate the repair.You need to condition it like AdminUser <>1 AND Installed AND REMOVE ~<> "ALL".
The Display message can be like "Unable to repair from Non Admin User".
The Display message can be like "Unable to repair from Non Admin User".
Posted by:
anonymous_9363
16 years ago
Posted by:
India_Repackaging
16 years ago
Posted by:
bhuvan
16 years ago
Actually I don't want the non privileged user to have access to the MSI files.If self repair is done in non privileged mode then it would have to access the MSI files which may allow the non privileged user to delete/modify the files.So, I don't want the non privileged
users to do a self repair.
Is there any possibility to allow the non privileged users to have self repair enabled but this user shouldnot access the MSI files?
users to do a self repair.
Is there any possibility to allow the non privileged users to have self repair enabled but this user shouldnot access the MSI files?
Posted by:
AngelD
16 years ago
Posted by:
AngelD
16 years ago
Is there any possibility to allow the non privileged users to have self repair enabled but this user shouldnot access the MSI files?
Yes there is.
Make sure no custom action is accessing the source during execution, condition if needed.
For files going into the user-profile you will need to make sure these are installed from duplicate files instead.
I recall there was a long discussion regarding this in the forum so try out the search engine.
Yes there is.
Make sure no custom action is accessing the source during execution, condition if needed.
For files going into the user-profile you will need to make sure these are installed from duplicate files instead.
I recall there was a long discussion regarding this in the forum so try out the search engine.
Posted by:
Tone
16 years ago
ORIGINAL: bhuvan
Actually I don't want the non privileged user to have access to the MSI files.If self repair is done in non privileged mode then it would have to access the MSI files which may allow the non privileged user to delete/modify the files.So, I don't want the non privileged
users to do a self repair.
Is there any possibility to allow the non privileged users to have self repair enabled but this user shouldnot access the MSI files?
A self repair cant be done in non privileged mode as its the windows service that access the MSI.
If you want to hide the MSI files you could also put them in a subf folder of a folder users dont have browse rights to but do have rights to traverse ther folder (as well as hiding the share)
They couldnt browse to the files using explorer.. they would need to know the full path MSI.
Posted by:
anonymous_9363
16 years ago
How should the locally-cached copy be handled? If you're going to hide that properly, you'd need to permission the folder. Then the OP needs to know how to handle CAs, perhaps a command-line permissioning tool. I really can't imagine what's to be achieved with this, as it seems the OP wants to disable a function of Windows Installer, betraying a fundamental misunderstanding of what WI is about. Besides anything else, as I've said in a similar post, if the app is self-healing, someone with inappropriate access has deleted a key path - how does your build allow that? Bizarre...
Posted by:
Tone
16 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.