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

delete "Common files\InstallShield"


2 replies to this topic

sybarite

sybarite
  • Members
  • 2 posts

Posted 09 July 2002 - 12:11

Hi,

I would like to delete the folder "C:\Programs\Common files\InstallShield" after my installscript does its work.

Is this possible (iKernel.exe)?

thx


If the only tool you have is a hammer, you tend to see every problem as a nail.   Abraham Maslow

MarkoK

MarkoK
  • Full Members
  • 48 posts

Posted 09 July 2002 - 12:48

This won't work...an copy of ikernel.exe from this directory is running during your setup.

Regards,
Marko

EberhardH

EberhardH
  • Members
  • 137 posts

Posted 18 July 2002 - 06:28

Hi,

simply delete it with DeleteDir() ...

B U T :
Afterwards, you're unable to uninstall (or repair, or modify) existing InstallShield-based setups!! Have a look into the uninstall entries of the registry: InstallShield-based setups do always call its setup using a file named "ctor.dll", and this file is also part of your undesired subdirectory!

So - what's it good for??
What I want to say: keep your fingers off this directory.

Eberhard