# Automated installer testing on VM

**URL:** https://www.finalbuilder.com/forums/t/automated-installer-testing-on-vm/1510
**Category:** Discussion
**Created:** [June 24, 2010, 7:18am UTC](https://www.finalbuilder.com/forums/t/automated-installer-testing-on-vm/1510 "2010-06-24T07:18:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 24, 2010, 7:18am UTC](https://www.finalbuilder.com/forums/t/automated-installer-testing-on-vm/1510/1 "2010-06-24T07:18:28Z")

</div>

I've done automatic testing of the installer on Virtual machines for a while now. With FinalBuilder I start up the virtual machine(varying operating systems), copy the installer over, and execute it with Sysinternals psexec.

While it works good for WindowsXP&nbsp;and before, it got problematic with Vista. I could do it with UAC&nbsp;turned off. Now it's also problematic with Windows7. I read somewhere that in order for psexec to work, it has to use a user account that not only is in the local administrator group but wholse name is "Administrator". For other reasons, that I&nbsp;can't remember right now, I&nbsp;have to use a domain user account. That leaves me with the option to use THE&nbsp;domain admin account for automated installer tests, which is not really an option.

Now, I'm interested in how other people perform automated installer tests?

Rgds

Richard

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 15, 2010, 10:56am UTC](https://www.finalbuilder.com/forums/t/automated-installer-testing-on-vm/1510/2 "2010-07-15T10:56:04Z")

</div>

Hi Richard,   
  
 I also had similar problem, the solution I found is to download version 1.98 of psexec from sysinternals web site.   
 this version support **-h** switch which actually say **“If the target system is Vista or higher, has the process run with the account’s elevated token, if available.”**   
 Note that this documentation doesn’t exists in the web site it only available when you run **psexec /?**.   
  
 The problems are:   
 - Final Builder 6 doesn’t support the -h switch hence you must move to execute program action and deal with all psexec parameters by your self.   
 - once you are using Execute Program action when I tried it the execution never ended (but actually it made the work), to work around this need to uncheck the"Log output" checkbox (which is not perfefect solution at all).   
  
  
 I expect FinalBuilder people to provide a new psexec that supports the new switches because it critical for the current OSs (Vista, Win 7, Win 2008, Win 2008 R2)   
  
  
 Regards,   
 Evyatar
