Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

PsTools : MSI installation works differently using PSEXEC

$
0
0
Author: sathish2
Subject: MSI installation works differently using PSEXEC
Posted: 04 May 2017 at 8:31pm

I have an msi which when I run using msiexec inside the server, it works fine as expected. But the same when I run using PSEXEC utility from remote machine, it works differently, though it shows it ran success. 

To be specific about the problem, the msi is created using MS Build using Jenkins. The package itself was created using WXS project. This WXS project has some conditional registry settings along with non-conditional registry settings. When I run this msi using msiexec from the server, it runs perfect with all the registry settings being loaded properly. The same msi when I deploy using PSEXEC from the remote machine, it does not reflect those conditional registries (the non-conditional registry settings are being loaded properly though).

The command that I use to execute the PSEXEC are follows:

psexec.exe -h /accepteula -u <username> -p <password> \\<servername> -w "<folder where my msi resides" cmd /c "msiexec /i <filename.msi>"

The user has administrator access on both the source and the target server.

Appreciate, if someone could help me find out the issue.


Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>