dlenis
Posts: 40
Joined: Wed Nov 02, 2016 2:37 pm

Temporary files folder

Hi,
In the AIP file there are references to a "NewFolder_Dir" for temporary files. I do not have a folder call "NewFolder_Dir" in the files and folder section. Is this normal that does not related to an actual folder or should I be concerned?


<ROW FileId="logfile.txt" Name="Logfile.txt" Directory_="NewFolder_Dir" Property="AI_LOGFILE.TXT" Options="0" Data="Bin\Logfile.txt"/>

Thank you,

Diego
Eusebiu
Posts: 4960
Joined: Wed Nov 14, 2012 2:04 pm

Re: Temporary files folder

Hi Diego,

The "NewFolder_Dir" name is the identifier of the folder that contains the "Logfile.txt" temporary file. This identifier is most likely related to a folder called "New Folder" which may be a subfolder of the "Application Folder", "Temporary" folder, etc. So, this is normal and you should not be concerned about it.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dlenis
Posts: 40
Joined: Wed Nov 02, 2016 2:37 pm

Re: Temporary files folder

Eusebiu,

There is no folder called "New Folder" in the temporary folders. I believe the "NewFolder_Dir" is just a place holder. In the example below the html control is placed in a subfolder in the temporary folder. The subfolder is not called "New folder". I would like a definite answer on this matter. The reason is I am cleaning up the AIP file, seems Advanced Installer does not always remove reference to deleted resources but this is for another topic.

ROW FileId="globalrulesgrid.html" Name="GLOBAL~1.HTM|GlobalRulesGrid.html" Directory_="NewFolder_Dir" Property="AI_GLOBALRULESGRID.HTML" Options="0" Data="..\..\..\..\..\..\FinTech\ALM\Advanced-Installer-Shared\AI_Repository\custom_controls\global_rules_grid\global_rules_grid.html"/>

Thank you,

Diego
Eusebiu
Posts: 4960
Joined: Wed Nov 14, 2012 2:04 pm

Re: Temporary files folder

Hi Diego,

Can you please send me your project to support at advancedinstaller dot com, so I can take a look of it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dlenis
Posts: 40
Joined: Wed Nov 02, 2016 2:37 pm

Re: Temporary files folder

Eusebiu,
I figured it out. When you create a new folder then rename it, the folder's unique identifier stays the same. In my case I created a new folder, but renamed it after creating it.
Is this done on purpose?

There is no issue running the project since there is a reference between the folder name and folder identifier.
<ROW Directory="NewFolder_Dir" Directory_Parent="TempFolder" DefaultDir="Solvas"/>

Thank you,

Diego
Eusebiu
Posts: 4960
Joined: Wed Nov 14, 2012 2:04 pm

Re: Temporary files folder

Hi Diego,

Indeed, this is the normal behavior. The unique identifier does not change along with the name of the folder. It remains the same as it was set when the folder was created.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”