cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
diamondkuo
Level 3

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
banna_k
Revenera
Revenera

 

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

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
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

@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-launches-a-different/ta-p/4739

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

@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
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

@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

@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