This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- support files not available during repair and uninstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2009
10:43 AM
support files not available during repair and uninstall
This is an InstallScript project. I have several files in my project under Support Files > Advanced Files > Disk 1. These are temporary files I need during install/repair/modify/uninstall/etc. They include exes and cab files.
My expectation is that during all executions of my installer, these files would be extracted to a temporary place (SRCDIR) that I could then call/execute as I needed.
Install works great.
Repair and Uninstall cannot find the files. Are they not available during maintenance mode?? Should the files be placed in a different directory like language independent? I do not want the files left around after install.
Also, the support files extract their own files from their cabs and these files are not deleted after the installation process if comeplte. How can I do that, or do I have to require that the exes clean up their own mess?
Thanks
ADDITIONAL INFORMATION:
If I remove/repair using the single exe, things work fine, and I have proven that the support files in Advanced Files are extracted again and available. HOWEVER, if I remove/repair via Add/Remove programs........FAILURE. I get a message that it can't the support files, and in fact they are no longer in there. Add/Remove programs is looking for the exes, etc in the temporary directory that was created during installation, and the support files are no longer there since after installation the directory was cleaned out.
Would putting these files into Support Files > Language indepenedent solve this? Do I need to actually "install" the files somewhere on the system so I can access them for repair, modify, and remove - and then remember to delete them after uninstall?
SOLVED:
The correct answer is to move the files from Advanced Files to Language Independent Files
My expectation is that during all executions of my installer, these files would be extracted to a temporary place (SRCDIR) that I could then call/execute as I needed.
Install works great.
Repair and Uninstall cannot find the files. Are they not available during maintenance mode?? Should the files be placed in a different directory like language independent? I do not want the files left around after install.
Also, the support files extract their own files from their cabs and these files are not deleted after the installation process if comeplte. How can I do that, or do I have to require that the exes clean up their own mess?
Thanks
ADDITIONAL INFORMATION:
If I remove/repair using the single exe, things work fine, and I have proven that the support files in Advanced Files are extracted again and available. HOWEVER, if I remove/repair via Add/Remove programs........FAILURE. I get a message that it can't the support files, and in fact they are no longer in there. Add/Remove programs is looking for the exes, etc in the temporary directory that was created during installation, and the support files are no longer there since after installation the directory was cleaned out.
Would putting these files into Support Files > Language indepenedent solve this? Do I need to actually "install" the files somewhere on the system so I can access them for repair, modify, and remove - and then remember to delete them after uninstall?
SOLVED:
The correct answer is to move the files from Advanced Files to Language Independent Files
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2009
02:41 AM
yes, and instead of using SRCDIR, you have to use SUPPORTDIR in your installscript.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2009
09:22 AM
yep - did that. thanks. so far seems to be working.