IPB

Google Frontpage Forums Unattended CD/DVD Guide

> Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules

 
Reply to this topicStart new topic
> Need advice on Deleting setup file after installation
clivebuckwheat
post Sep 6 2008, 12:31 PM
Post #1


Member
**

Group: Members
Posts: 179
Joined: 7-November 05
Member No.: 78994
Country Flag


Hi

I am trying to install a program, it installs fine, but now I would like to delete the setup file of the program I just installed. Is there something I need to do to ensure my batch file doesn't delete the setup file, as my batch file is trying to install it?. I would also like to delete the batch file as well is this possible?.
Go to the top of the page
 
+Quote Post
Shark007
post Sep 6 2008, 01:40 PM
Post #2


Repackaging Specialist
Group Icon

Group: Software Developers
Posts: 2762
Joined: 7-January 04
From: Northern Ontario
Member No.: 12065
OS: Vista Ultimate x64
Country Flag


QUOTE (clivebuckwheat @ Sep 6 2008, 02:31 PM) *
Hi

I am trying to install a program, it installs fine, but now I would like to delete the setup file of the program I just installed. Is there something I need to do to ensure my batch file doesn't delete the setup file, as my batch file is trying to install it?. I would also like to delete the batch file as well is this possible?.
example contents of a batchfile install which will delete itself
CODE
start /wait installer.exe /s
del installer.exe
del %0


shark
Go to the top of the page
 
+Quote Post
digital john
post Sep 13 2008, 07:10 AM
Post #3





Group: Members
Posts: 2
Joined: 15-August 07
Member No.: 150842
OS: none
Country Flag


QUOTE (Shark007 @ Sep 6 2008, 09:40 PM) *
QUOTE (clivebuckwheat @ Sep 6 2008, 02:31 PM) *
Hi

I am trying to install a program, it installs fine, but now I would like to delete the setup file of the program I just installed. Is there something I need to do to ensure my batch file doesn't delete the setup file, as my batch file is trying to install it?. I would also like to delete the batch file as well is this possible?.
example contents of a batchfile install which will delete itself
CODE
start /wait installer.exe /s
del installer.exe
del %0


shark


you coud add: del /f /q this force the installation file to delete after the installation.
the f = force and q= quiet
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 7th January 2009 - 10:04 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy