Page 1 of 1

Installation takes longer time

Posted: Wed Apr 12, 2017 1:52 am
by SITL
Francesco,

1. Our quality peoples feel that installation(InstallAware Build) takes longer time than the previous installer.
2. Silent Installation is very slow & it is working fine except one scenario described below.
During silent installation, one of our quality person was very curious top see if the files are copied to the target directory.
So, he accessed that directory using windows explorer, only few files are installed.
Is it because, he accessed that directory ? what is the solution to this,
generally peoples will be try to verify if it takes longer time.

Need your advice.

Regards
SITL

Re: Installation takes longer time

Posted: Wed Apr 12, 2017 12:00 pm
by FrancescoT
Dear SITL,

1. the installation time directly depends on what the installer does. It may be also possible that your script executes a series of redundant tasks and these may be "probably" optimized. Not less important, I don't know how your quality team have verified the time required to complete the installation and on which bases they made a possible comparison.

2. in all honesty, I am not able to replicate a similar issue. If you have a chance to send me a very MINIMAL project that replicates the issue, I'll try to have a look.

Regards

Re: Installation takes longer time

Posted: Thu Apr 13, 2017 4:57 am
by SITL
Dear Francesco,

Thanks for the info...
I'll Re-visit my script and see if there are any redundant commands.
I know there are few unused variables.

Rregards
SITL

Re: Installation takes longer time

Posted: Wed May 03, 2017 3:43 am
by SITL
Dear Francesco,

Thanks for your help.
1. Since it is very slow,
a. if the user double clicks on the (installer)MyProject.exe OR
b. if the product is already installed, and user clicks on uninstall twice,
then two instances of the installer come up. How to avoid this ?.

2. Project settings / compression , I'm setting it to 50 % ( slider in the middle),
Do you think the maximum compression (slider to best )will help ?

Thanks
SITL

Re: Installation takes longer time

Posted: Wed May 03, 2017 11:17 am
by FrancescoT
Dear SITL,

1> you may use the "SINGLEINSTANCE" pre-defined COMPILER VARIABLE.
"this disallows running multiple instances of setups sharing the same Revision Code when set to TRUE"

2> The time required to decompress the setup package at runtime, it's directly proportional to the compression level.

Regards

Re: Installation takes longer time

Posted: Fri May 05, 2017 1:53 am
by SITL
Francesco,

Thanks for your help.
The slowness is due to visual studio run time check (& install).
I'll see what best i can do.

Regards
SITL

Re: Installation takes longer time

Posted: Tue May 09, 2017 1:52 am
by SITL
Dear Francesco,

Thanks for your help.

1. Visual studio 2005 related run times are causing problem,
still no solution.

2. I set SINGLEINSTANCE to TRUE under the region - Define Setup Globals

~InstallAware Clipboard Data~
~Set Variable~
~{9E85CD05-4FB6-45F6-9328-56CADF78E4B4}~
~SINGLEINSTANCE$MYAH$MYAH$FALSE~
~TRUE~

Still two instances are running.
Do i need to do anything else ?
Appreciate your support.
Regards
SITL

Re: Installation takes longer time

Posted: Tue May 09, 2017 9:21 am
by FrancescoT
Dear SITL,

"SINGLEINSTANCE" ia a pre-defined COMPILER VARIABLE and not a script variable!

For more details about COMPILER VARIABLES and how to use them, please consult the InstallAware documentation.

Hope this helps you.

Regards