cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rcuadra
Level 6

Files being left behind in the supportdir

Can someone in InstallShield answer this? Is there any setting that needs to be set to make sure the SQL scripts are not being left behind in the supportdir after the install is complete. I attached a screenshot of what I'm seeing after the install is complete.
Labels (1)
0 Kudos
6 Replies
Earthshine
Level 4

//---------------------------------------------------------------------------
// OnEnd
//
// The OnEnd event is called at the end of the setup. This event is not
// called if the setup is aborted.
//---------------------------------------------------------------------------
function OnEnd()
begin
DeleteDir(SUPPORTDIR,ALLCONTENTS);
end;

0 Kudos
rcuadra
Level 6

Earthshine wrote:
//---------------------------------------------------------------------------
// OnEnd
//
// The OnEnd event is called at the end of the setup. This event is not
// called if the setup is aborted.
//---------------------------------------------------------------------------
function OnEnd()
begin
DeleteDir(SUPPORTDIR,ALLCONTENTS);
end;



Thanks EarthShine, I actually tried that approach and it deleted the subfolders and files but the SUPPORTDIR folder is still present. Per documentation the SUPPORTDIR usually gets deleted after the installation is complete so I'm not sure what is going on here. If you place a file or files in the support files (i.e Last Disk or any disk) my expectation is it will remove itself after installation.

Can someone in Flexera respond as to why this is happening?
0 Kudos
Alex1969
Level 4

Hello rcuadra,

have you tried to actualize your view in the explorer after the installation ends?

Just an idea, please try it.

HTH Alex
0 Kudos
rcuadra
Level 6

Alex1969 wrote:
Hello rcuadra,

have you tried to actualize your view in the explorer after the installation ends?

Just an idea, please try it.

HTH Alex


Hi Alex,

What does "actualize your view in the explorer" exactly means?
0 Kudos
Alex1969
Level 4

Hello rcuadra,

rcuadra wrote:

What does "actualize your view in the explorer" exactly means?


I took the wrong word. I meant "View -> Refresh" in the windows explorer.

Does it help? Sometimes the explorers view isn't updated correctly.

HTH Alex
0 Kudos
rcuadra
Level 6

Alex1969 wrote:
Hello rcuadra,



I took the wrong word. I meant "View -> Refresh" in the windows explorer.

Does it help? Sometimes the explorers view isn't updated correctly.

HTH Alex


Nope it does not help. I even tried rebooting the machine and the supportdir is still there.
0 Kudos