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
- :
- Re: Avoid unpacking during 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
‎Dec 15, 2008
09:58 AM
Avoid unpacking during uninstall
Hi all!
I have an InstallScript project that contains some big files in the "Support Files/Billboards\Language Independent" folder. I use these files only during first installation and maintenance mode, but never on uninstall.
So, when I want to remove the application, I must wait untill the setup has finished to prepar its files (for example copying them in the TEMP folder, I suppose...).
Since this is a wasting time operation, is there a trick the allow me to avoid unpacking of temp files?
Important: please, don't tell me to remove that big files ... it's an impossible solution!
Thanks in advance!
Kotiomkin
I have an InstallScript project that contains some big files in the "Support Files/Billboards\Language Independent" folder. I use these files only during first installation and maintenance mode, but never on uninstall.
So, when I want to remove the application, I must wait untill the setup has finished to prepar its files (for example copying them in the TEMP folder, I suppose...).
Since this is a wasting time operation, is there a trick the allow me to avoid unpacking of temp files?
Important: please, don't tell me to remove that big files ... it's an impossible solution!
Thanks in advance!
Kotiomkin
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 15, 2008
10:33 PM
Unpacking large files from the Support area is very costly on the target machine, both in time and extra space. Often, I have gone around it by referencing the files needed from SetupExeDir rather than SupportDir. In other words, don't put the required files in the SupportDir, but place them in the same folder where the setup/msi runs and reference them there.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 16, 2008
02:06 AM
Mhh ... it seems a good idea.
The only thing is that I must use PACKAGE_LOCATION instead of SETUPEXEDIR because (looking inside the IS help...) is supported only in InstallScript MSI and Basic MSI (I use InstallScript project).
However, it could be right..
Thanks a lot for your answer Randy!
The only thing is that I must use PACKAGE_LOCATION instead of SETUPEXEDIR because (looking inside the IS help...) is supported only in InstallScript MSI and Basic MSI (I use InstallScript project).
However, it could be right..
Thanks a lot for your answer Randy!