A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » General
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Delete Directory Inf File



 
 
Thread Tools Display Modes
  #1  
Old August 11th 05, 02:39 PM
external usenet poster
 
Posts: n/a
Default Delete Directory Inf File

Hi guys
Anybody help me i am not able to delete a directory using inf file fr
uninstalling my application.

  #2  
Old August 11th 05, 07:52 PM
Ron Badour
external usenet poster
 
Posts: n/a
Default

Please better explain your problem. You should not be able to delete a
directory using an .inf file

--
Regards


Ron Badour, MS MVP for W98
Tips: http://home.satx.rr.com/badour
Knowledge Base Info:
http://support.microsoft.com/default.aspx?pr=kbinfo



wrote in message
oups.com...
Hi guys
Anybody help me i am not able to delete a directory using inf file fr
uninstalling my application.



  #3  
Old August 12th 05, 01:57 PM
Lee
external usenet poster
 
Posts: n/a
Default

As Ron suggests there is no way to do that directly, but one can do a
few workarounds and get it done anyway. The first requires that you
create and place a shortcut in your application's folder and then when
you remove the shortcut at uninstallation that proceedure is suposed to
zap the folder that the shortcut is in as well. This trick was meant
to be used for program groups starting from the Start Menu hierarchy
and you will have to define your application folder likewise, by group
- I never did get it to work right here. See the Help for WillyPad
here.
http://snoopy81.ifrance.com/snoopy81/download.htm

2nd method is to place into the RunOnce Key something of the following
ilk:
rundll32.exe C:\WINDOWS\SYSTEM\advpack.dll,DelNodeRunDLL32
"C:\WINDOWS\Installer\InstMsi0"

Which would delete the C:\Windows\Installer\InstMsi0 folder if it
exists. Depending on the method of inf launch, the folder may
disappear right away or it will disappear at the next boot. Right
click inf 'Install' method will zap it right now, 'Active' Install will
zap it at next reboot.

3rd method is to use Wininit.ini script as per WillyPad Help, but note
that 95's Wininit.exe can not do folders, only files, where 98's does
both. Win95 doesn't seem to mind using 98's Wininit.exe though if you
are making a multi-platform installation package, you just have to
include and copy over 98's Wininit.exe. This method only works at the
next boot.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to delete or rename file brown1392 General 2 October 22nd 04 03:25 AM
Cannot delete file Chris General 1 September 12th 04 10:25 PM
Create Directory Listing TEXT FILE Tio Pepe Software & Applications 7 August 30th 04 10:32 AM
Safe to delete windows/temp file Tracy Improving Performance 1 August 3rd 04 04:12 AM
Win98SE - problem with USB printer HBYardSale Software & Applications 2 June 20th 04 06:27 PM


All times are GMT +1. The time now is 06:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.