How to tie a Hudson job to a user who has access to run MSIExec

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-06-06T05:05:23Z Indexed on 2010/06/06 5:12 UTC
Read the original article Hit count: 272

Filed under:

Hi All,

I have a batch file that calls "MSIExec /X {MyGUID} /qn". This runs successfully when run with my admin user. When I run it as a Window Batch command from a Hudson job it fails with "T?h?e? ?i?n?s?t?a?l?l?a?t?i?o?n? ?s?o?u?r?c?e? ?f?o?r? ?t?h?i?s? ?p?r?o?d?u?c?t? ?i?s? ?n?o?t? ?a?v?a?i?l?a?b?l?e?.? ? ?V?e?r?i?f?y? ?t?h?a?t? ?t?h?e? ?s?o?u?r?c?e? ?e?x?i?s?t?s? ?a?n?d? ?t?h?a?t? ?y?o?u? ?c?a?n? ?a?c?c?e?s?s? ?i?t?.? "

I am inclined to think that the issue is that the job is started by the "anonymous" user rather than my admin user.

How in hudson do I "tie" the job to be run under the admin user?

Thanks in advance.

Regards,

Andrew

© Stack Overflow or respective owner

Related posts about hudson