wix - How to find installed user of msi? -
we need find user has installed msi using powershell.
i trying search via hkey_users ,but providing sid of user not user name of installed msi.
is there way find installed user ?
(if have sid, can find out user name, why not?)
but best way, if msi yours, save information during setup in registry value, or .ini file can read out later. there 2 properties, "logonuser", , "username", latter user installing.
if have no influence on msi itself, not sure, if easy. interpreting sids seems way then.
nevertheless:
the standard way use api routines msigetproductinfo() or msigetproductinfoex(). can google in msdn. not sure if contain information if these data not registered during setup dialog. maybe empty after silent install if there no registration dialog? have never used them find user has installed software. in own setups done explicit dialogs or actions.
Comments
Post a Comment