This text appears on the PrepareDlg, from the Dialogs page. It is defined in Windows Installer so you can't change it. But you can delete the empty static text fields (those that have no text) and add one with the text you desire.
Well too bad I cannot edit what ActionText and ActionData say. I took your help you provided and just moved ActionText and ActionData down and added my own text in the middle. So it still explains to the user what is going on. So I am happy about that.
Final question and then this topic is 100% handled!
I want to be able to remove a file during installation. So I read this thread:
How do I remove a file or folder during installation?
I already figured out "Find the path of a folder" using the help you provided in earlier posts.
That URL points to:
If you know the files which remain you can use File Removal Operations to remove all the files in the folder.
So I look into the URL that sentance provides, which take me:
File Removal Operations
So In AI I goto: Project Definitions > Files and Folders
THIS IS WHERE I GET STUCK
I have figured out that if I add a file, I can goto "File Operations">"File Removal"
I am not sure what I would put in the component. Because what I read was: "The component which will trigger the file removal operation."
What I am trying to do is remove a file before or during setup. Preferably delete the file from the folder the [SEARCH]'s find.
So here is the scenario:
Setup Starts
Setup searches for File.exe
IF File.exe is found then:
-Message box displays: "File.exe has been found at: C:\Folder\Sub Folder\"
If File.exe is
NOT found then: CONTINUE SETUP
----------what I want it to do----------
Message box: "Do you want setup to remove this file?" Choices: Yes or No
--Case | Yes:
---Message Box: "Setup has deleted File.exe from [Search]"
---CONTINUE SETUP
--Case | No:
---Message Box: "Setup has terminated. Please remove File.exe from [Search] and then run the setup"
---Terminate Setup
----------Working from here on out----------
Register Services, copy files, write registry, ect....
Now I am pretty positive that "what I want it to do" has to be done in a script. What I do not know how to do is setup AI to execute the script and where I would put it in AI.
My thought is writing a seperate application to find the files and delete the files.
Then goto Custom Actions>InstallUISequence>AppSearch>New Attached Custom Action or Add PreDefined Custom Action
Then under New Attached Custom Action or Add PreDefined Custom Action I select my Application I made with the condition of [SEARCH]
Right? Or am I over-thinking this?
FOLLOW US
Get the latest news in Application Packaging