cancel
Showing results for 
Search instead for 
Did you mean: 
diamondkuo
Wanderer

Why does Setup launcher made by InstallShield 2015 clone itself to temp folder?

With InstallShield 2015, in basic project, I made a setup.exe launcher. The question is, every time it launched, it clones itself to the temp folder with a random subdirectory name C:\Users\xxx\AppData\Local\Temp\xxx\setup.exe After installation is complete, setup launcher file in temp folder won't be delelted. I launch it more times, I get more cloned setup launcher in temp folder. Tried to make again with InstallShield 2010, had no this issue.
0 Kudos
6 Replies
Flexera banna_k
Flexera

Re: Why does Setup launcher made by InstallShield 2015 clone itself to temp folder?

 

Hi @diamondkuo ,

   Installshield is doing secure installation from Installshield 2015 onwards to prevent DLL preloading attacks. So, during the installation it will clone to a random directory and install from there. Usually, after the installation the random folders will be cleared.

 Can you see the behavior with /clone_wait parameter.

  https://helpnet.flexerasoftware.com/installshield22helplib/helplibrary/IHelpSetup_EXECmdLine.htm

  

0 Kudos
diamondkuo
Wanderer

Re: Why does Setup launcher made by InstallShield 2015 clone itself to temp folder?

Hi banna_k,

Pretty sure that random folder is not going to be cleared. Given /clone_wait parameter help nothing.

Besides the project Basic MSI, the InstallScript MSI project had the same problem. 

I saw the extracted .msi files in the temp folder had be cleared after installation, but not setup.exe.

I'm trying to use the another InstallScript project, it seems setup.exe can be cleared.

 

0 Kudos
Highlighted
Flexera shunt
Flexera

Re: Why does Setup launcher made by InstallShield 2015 clone itself to temp folder?

@banna_k is correct - the clone that you are seeing created is due to changes that we made within Installshield to address dll pre loading.
We have a full knowledge article discussing this in full here:

https://community.flexera.com/t5/InstallShield-Knowledge/Windows-loads-a-different-library-or-launch...

With regards to the setup not being cleared correctly in the Temp folder, this was identified as a bug due to the hotfixes provided in the above article.

This was fixed in Installshield versions 2018 SP1 and above.

I hope that helps.
Stuart

0 Kudos
diamondkuo
Wanderer

Re: Why does Setup launcher made by InstallShield 2015 clone itself to temp folder?

@shuntMy InstallShield 2015 SP2 installed the hotfix downloaded from the link you mentioned, doesn't fix the problem of clearing the setup.exe in random subfolder in temp folder.

Is there other hotfix?

 

 

0 Kudos
Flexera shunt
Flexera

Re: Why does Setup launcher made by InstallShield 2015 clone itself to temp folder?

@diamondkuo  - The fix was provided as part of the Installshield 2018 SP1 release. To resolve this issue you would need to upgrade to that version.

As Installshield 2015 is due to be EOL next month, this could be an opportune time to upgrade.

https://helpnet.flexerasoftware.com/eol/installshield.htm

0 Kudos
diamondkuo
Wanderer

Re: Why does Setup launcher made by InstallShield 2015 clone itself to temp folder?

@shuntThe time is not enough to apply the budget. Besides I just want a hotfix to fix InstallShield its own bug, not buying a whole new version. Smiley Sad

0 Kudos