So, we already had "Always overwrite" set. Thanks.
I found the problem and it had nothing to do with the MSI Sorry, I didn't realize another component in our setup could cause this problem. So, all is working fine. Thanks!
I looked at this: http://www.advancedinstaller.com/user-guide/qa-keep-file.html
And several related pages and I will be honest that this makes absolutely no sense to me. I tried several permutations and combinations of setting my APPDIR folder (and sometimes the ini component) to RemoveFolder with ...
We have an installer that is pretty simple. Our install basically installs two files, an exe and and ini file. The exe and ini are not packaged in the MSI, but are kept external "beside" the MSI.
The installer has "Uninstall old version first and then install new version" in the "Application ...
So, I have a custom action which I had nothing but trouble with before, because the installer was trying to call it with the wrong privs. Finally, I was instructed to change the custom action from a "Launch EXE with working directory" to a "Launch File" and that seemed to fix the issue. It works ...
I have an installer MSI that is giving me trouble. IF I try to install a newer version over an older version, (I have remove old before installing new set), then the old version is removed, the new version is added to Windows "Programs and Features" in Control Panel, but for some reason my custom ...
Ah, that makes sense. So, I modified to use the "Launch File" custom action for the uninstall and checked the "Run as Admin" box and that does indeed appear to fix my problem!!
Actually, as you can see from the image I sent you of the procmon capture, the executable was indeed on disk and NOT deleted. msiexec.exe got an ACCESS_DENIED error, not a FILE_NOT_FOUND error. But, I went ahead and fixed the installer as you suggested, re-ran, got the same result and sent you the ...
The additional '\', I believe would be ignored, but I removed it. Also, I think I sent the wrong files last time. I re-ran my test scenario with newly generated installer and made sure all of the files are correct. I also grabbed a procmon trace showing that msiexec.exe is indeed accessing my exe ...
Nope, did not help at all. The executable I am trying to execute just uninstalls some drivers and services. This uninstall works fine with this installer if I run it as an already elevated user. The problem is NOT that it cannot find the exe, it tries to run the exe and fails, i have that in a ...
PROBLEM: I have a “Launch EXE with working folder” custom action for uninstall. When an admin user goes to control panel | Programs and Features and tries to uninstall my application, the uninstall tries to run my exe, but fails with Access Denied. I grabbed a procmon trace when this occurs and ...
FOLLOW US
Get the latest news in Application Packaging