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

Removing subdirs


1 reply to this topic

sidew

sidew
  • Members
  • 10 posts

Posted 02 April 2002 - 10:10

In a setup i want to remove some subdirs signed as component of the setup. With custom action i can remove all files but the subdirs no.

My setup copy an another setup (created with older IS) spawned on multiple subdirs called disk1... disk5, then launch the installation from the first subdir.

At the end I 've wrote a CA for clean that setup but leave me the empty subdirectory.

I have tried with DeleteDir function with  ALLCONTENTS property but no effect. Last thing I have tried with an external batch file with dos command rmdir, but no luck.

Any idea?

Thanks in advance
Aldo - TXT e-solutions S.p.A. c/o Radiocor - Il Sole 24 Ore


sidew

sidew
  • Members
  • 10 posts

Posted 11 April 2002 - 15:37

I have resolved that question.

The documentation is not clear. The command DeleteDir() need the FULL path, instead the directory name to delete.

I hope that suggestion is useful for all.

Regards,
Aldo - TXT e-solutions S.p.A. c/o Radiocor - Il Sole 24 Ore