Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Uninstalll Not Removing the Files in Active Direct


6 replies to this topic

tabiul

tabiul
  • Members
  • 4 posts

Posted 04 August 2004 - 02:46

Hi,

We have created a MSI Package using InstallShield Primere X. The msi works fine both for installing and uninstall when run in a local pc.

The problem arises when a new version of the program is deployed from Active Directory. The Active Directory uninstall is not able to remove the application EXE and Dll Files (Key Files). Beside that the system32 dll files are also not removed (Key Files). Because they are not removed the New Exe and Dll are not pushed to the PC , they still have the old Exe and dll.

Why the Files are not removed when deployed from Active Directory but it is when run from local pc. Is the key File the Issue.

Appreciate urgent response.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 04 August 2004 - 08:18

Do I understand correctly that you installed the software using AD and now wish to install a Major Upgrade from AD?
Is the software installed per-machine?
As a first step I'd recommend generating a verbose log file to see what's actually going on.

tabiul

tabiul
  • Members
  • 4 posts

Posted 05 August 2004 - 01:36

Hi,

Yes you are right. After we have pushed the package from the AD for a major upgarde the old exe and dll are not getting removed thus the new exe and dll file is not installed in the user pc.

If you question for per-machine means every machine then you are right. All the pc in the test group policy gets the application.

tabiul

tabiul
  • Members
  • 4 posts

Posted 05 August 2004 - 02:24

Hi,

I have enabled the verbose file logging. Below is the entry of the file. The below log was generated when I tried to remove the application from Add/Remove Programs after it was installed through the AD. The Add/Remove Programs removed all the files except the exe and dll file.

USERENV(680.63c) 09:08:50:745 LibMain: Process Name: C:\WINNT\system32\msiexec.exe
USERENV(680.63c) 09:08:50:755 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:815 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:815 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:815 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:825 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:825 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:825 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:835 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:835 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:835 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:835 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:845 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:845 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:845 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:855 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:855 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:885 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:885 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:885 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:885 GetUserDNSDomainName: Local user account. No DNS domain name available.
USERENV(680.69c) 09:08:50:895 GetUserDNSDomainName: Local user account. No DNS domain name available.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 05 August 2004 - 08:43

With per-machine I meant: did you set ALLUSERS=1, as opposed to a per-user install.
I don't think you can uninstall an application that was pushed via AD using the control panel. Instead you should perform a Major Upgrade (are major upgrades supported with AD? Or do you remove the old version in AD and add the new version?)

tabiul

tabiul
  • Members
  • 4 posts

Posted 06 August 2004 - 03:58

Hi,

I agree with you. Application pushed down through AD should not be removed through control panel. It should be removed through AD using Major Upgrade that is available in AD.

But, in our case we have user that can remove the application through the control panel. When the user does that the Key Files stays in the pc even though the file was added to the Remove File Table. Thus, when a new major upgarde is pushed from the AD, the Key Files (Appication exe and dll) does not get overwritten.

How can we overcome this problem.

Thanks

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 06 August 2004 - 04:26

Are these components set as permanent, shared or do they install in any kind of system folder? Have you verified this behavior on multiple machines?
Regards
-Stein Åsmul