×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Windows98-uninstall via add/remove does not remove installed files

Windows98-uninstall via add/remove does not remove installed files

Windows98-uninstall via add/remove does not remove installed files

(OP)
Using Wise, I have created an msi package to install a few applications. My problem is in regards to using the 'Remove' button for my installation on the Add/Remove Programs menu.
In Windows XP and 2000, the uninstall is successful (i.e. item was removed from Add/Remove menu, removed from Registry, removed installed files).

However, in Windows 98 (most likely 95 and ME as well), the item is removed from the Add/Remove menu, and the registry, but the installed files are not removed.

The Uninstall String for this program is

CODE

msiexec.exe /x{GUID}
, where GUID is the product code. This is the explicit uninstall switch for msiexec.exe. Earlier, I had been using /i in place of /x, but it would completely crap out in 98 and would accomplish nothing.

Any suggestions would be greatly appreciated. Thank you for your time.


RE: Windows98-uninstall via add/remove does not remove installed files

(OP)
This problem wasn't related to the uninstall.  I had configured the remove button to be disabled, and the modify button to be enabled.  Turns out (should have been common sense) that I had to initially enable the Remove button and the Modify button, then during the Exection sequence, disable ARPNOREMOVE if the WindowsBuild property was greater than 2195.  This ensures that the remove button is removed from Win2K and up, and that it is enabled for Windows NT and lower, since they have the old school add/remove programs menus.  

Both the Remove and Modify buttons must be enabled for WinNT and lower, as Remove is the only option these OS's have.  Clicking the Remove button in this case will launch the same window that clicking the Change button in Win2K and up would launch.

And for an additional note, I find the WindowsBuild property much for useful than VersionNT.  WindowsNT qualifies as VersionNT (obviously).  However, for cases like this, and rebooting, I believe WinNT should be included with the 9x group, rather than the 2000/XP group.  So I sometimes base OS-related conditions on build 2195 (Win2K build).  If the WindowsBuild is < 2195, then the OS WinNT or lower.  If it's >= 2195, then the OS is Win2K or up.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close