Jump to content

Delete=""


Recommended Posts

EDIT:

Sorry, this wasn't supposed to go here. I'll post it in the correct forum.

I just found these more extensive modules and am playing with them a bit. I had be using 7-Zip's defaults to create SFX files. I'm testing it on an Adobe reader install. Before, I used to have it run a batch file after unpacking. The batch file would install the app and remove various shortcuts. I'm trying to thin the code down with these new modules...

It does the install just fine but never deletes that stupid little shortcut. Ideas?

config.txt

;!@Install@!UTF-8!
Title="Adobe Reader Installation"
; // Quiet install that shows progress bar only
GUIMode="1"
; // Set environments
SetEnvironment="Var1=\"%ALLUSERSPROFILE%\\DESKTOP\\ADOBE READER 8.LNK\""
; // Installation
ExecuteFile="fm05:AdbeRdr812_en_US.exe"
; // Switches
ExecuteParameters="/sPB /rs /l /msi\"/qb-! /norestart /log c:\\acrobat8.log ALLUSERS=2 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES\"\""
; // Deletes the shortcut dropped on the desktop
Delete="%Var1%"
FinishMessage="Adobe Reader has been installed."
;!@InstallEnd@!

Edited by rkillcrazy
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...