# Windows Installer action incorrectly reports msi "Not Found"

**URL:** https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007
**Category:** Discussion
**Created:** [October 14, 2008, 2:57am UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007 "2008-10-14T02:57:12Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mikep](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@mikep](https://www.finalbuilder.com/forums/u/mikep)
#### Post date: [October 14, 2008, 2:57am UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007/1 "2008-10-14T02:57:12Z")

</div>

Hi,

I'm having a&nbsp;problem with the "Windows Installer" action -- it can't find the .msi package and always reports:

```
Installing MSI Package...Not found
```

```
However, the .msi **_IS there_**.  In fact, before I execute the "Windows Installer" action, I use the "If File/Folder Exists" action to
verify the .msi is present; it consistently reports:
```

```
Found file "C:\temp\MyApplication.msi"
```

```
I'm using **FinalBuilder 6.2.0.1074** on **Windows Server 2003 R2**. However, when I use the exact same
FB project file (.fbz6) on my WinXP SP2 development/staging machine everything works fine! Also, if I use
msiexec to run the install package it works fine.
```

```
I'm stumped... any idea what might be happening here?
```

```
Thanks,
-Mike
```

```
 
```

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 14, 2008, 3:08am UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007/2 "2008-10-14T03:08:09Z")

</div>

Hi Mike   
  
I had a look at the code, and did find one issue which it is not expanding variables in the package path. You didn't say if you were using variables or not. We don't call msiexec to run the package, we execute it using wmi. So another possible cause may be the version of windows installer, which version is installed on the machines? I will check in a fix for the variable expansion and post a link to the build here later today.

Edit : Just looked through the source again and it does expand variables correctly.. so not sure what the problem is.

&nbsp;

---

<div class="post-metadata">

### Author: ![mikep](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@mikep](https://www.finalbuilder.com/forums/u/mikep)
#### Post date: [October 14, 2008, 3:36am UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007/3 "2008-10-14T03:36:29Z")

</div>

Vincent,

I was using variables but ended up hard-coding the path to eliminate that "variable".&nbsp; Now, I created a new FB project and the only action is Windows Installer with a hard-coded path to the .msi.&nbsp; Same result -- "Not found".

For the Windows installer version you asked about, do you mean the version of msiexec (which happens to be 3.1.4000.3959 on the Win2K3 machine and&nbsp;3.1.4000.1823 on the WinXP machine).&nbsp; If this isn't the version you meant, what do I need to check?

Thanks,  
-Mike

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 14, 2008, 12:23pm UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007/4 "2008-10-14T12:23:53Z")

</div>

Hi Mike

That was the version I was talking about, I should have been more explicit. The major/minor versions are the same so my guess is that is not the cause. The only other thing I can think of is security... it may be a permissions issue with the user that FinalBuilder is running under. I will look into this further tomorrow.

&nbsp;

---

<div class="post-metadata">

### Author: ![mikep](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@mikep](https://www.finalbuilder.com/forums/u/mikep)
#### Post date: [October 14, 2008, 1:47am UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007/5 "2008-10-14T01:47:36Z")

</div>

I tried running the FB project as the local admin account, but still got the same result.   
  
 There may be a WMI problem on the Win2k3 machine. I ran Microsoft’s “WMI Diagnosis Utility” on both machines. The WinXP machine came up clean, but the Win2k3 machine did not:   
  
 “WMIDiag detected issues that could prevent WMI to work properly!”   
  
 I’m going to look into this – I suspect that is the problem since that action uses WMI.   
  
 -Mike

---

<div class="post-metadata">

### Author: ![mikep](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@mikep](https://www.finalbuilder.com/forums/u/mikep)
#### Post date: [October 14, 2008, 2:38am UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007/6 "2008-10-14T02:38:56Z")

</div>

Solved! The WMI MSI provider (an optional component) was not installed. I installed it and the “Windows Installer” action is working fine now.   
  
 Thanks for your help.   
  
 -Mike

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 15, 2008, 12:18pm UTC](https://www.finalbuilder.com/forums/t/windows-installer-action-incorrectly-reports-msi-not-found/1007/7 "2008-10-15T12:18:44Z")

</div>

Thanks for letting us know. I would have though the provider gets installed at the same time as windows installer
