sp1:BUG:MSI/Registry unistall/reinstall problem

R

RickH

I install a local Infopath trusted form using a msi file. I unistall it.
Then when I try to reinstall a new version, I get the message that the form
is already installed, pls unistall it. Its not on the Add/Remove programs
list any longer.
Trying to find a workaround, I noticed in the registry there is a "Recent
Templates" key that has entries with the URN for the various forms that have
been installed. I noticed that the urn for the form that I uninstalled is
still there. When I delete that entry, the install works fine.
It seems to me the uninstall needs to automatically delete that entry and
that new installs of that form need to check if that key is there, and delete
it or ignore it.
I need a recommendation of what should be changed in the MSI file--I'm
editing it using InstallShield Prof X, but I also have Orca installed...
 
B

Brian Teutsch [MSFT]

It's not a bug in SP1. Your uninstaller needs to call the
ExternalApplication.UnregisterSolution OM method. Otherwise nothing happens
on uninstall.

Brian
 
R

RickH

I didn't write the un-installer--it's the one InfoPath generated...
I'm trying to figure out where the bug is--why it doesn't unistall
completely...
 
B

Brian Teutsch [MSFT]

That's a little strange. The SDK tool should generate the correct uninstall
script. Hopefully someone else here knows more about MSIs to tell you what
to look for. Or if you do, it's the ExternalApplication.UnregisterSolution
call I mentioned earlier. Sorry I can't help more.

Brian
 
R

RickH

it does uninstall it--but not completely. It is removed from the Add/Remove
software list, but something is left in the registry that prevents
reinstall...
I think it might be the "Recent Templates" key under InfoPath. If the form
is listed there, then it won't reinstall.
 
B

Brian Teutsch [MSFT]

Yes, we think we've found the issue. It is around multiple isntallations of
solutions with the same name. Try this to workaround:

Register another solution with the MSI, then go copy the hidden custom
action file. When you uninstall one, you can just replace the custom action
file again and uninstall again.

Thanks,
Brian
 
R

RickH

Not sure I follow this.
I make a copy of the caXXXXX.exe file.
Then uninstal the form.
Then what?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top