DAT files growing in size

Got a problem you cannot solve? Try here.
mdavtec
Posts: 31
Joined: Wed Jan 20, 2016 2:59 pm

DAT files growing in size

Postby mdavtec » Mon Jun 17, 2024 6:59 am

We have several projects' installations, a mix of MSI and EXE. Each of them creates a cache in %PROGRAMDATA% folder when installed. What we are seeing is that with each repair/upgrade installation of the program, this DAT file grows in size. In our testing, we noticed that DAT files grow in GB and then the installation fails.


I want to know if is there a way to prevent the DAT file from growing. If not, is there a way to tell InstallAware to not create a cache in the ProgramData folder? We tried setting "Always Cache Setup Sources" to FALSE / DEFAULT but it is not working.
ExchA

mdavtec
Posts: 31
Joined: Wed Jan 20, 2016 2:59 pm

Re: DAT files growing in size

Postby mdavtec » Tue Jun 18, 2024 8:38 am

I see that each execution of installation, even if it does nothing, adds following lines -- or something similar -- to the DAT file.

MYAH-PREDEF-COMPONENT
0
DEFAULT
0
ExchA

JohnGaver
Posts: 129
Joined: Mon Feb 05, 2024 6:15 pm

Re: DAT files growing in size

Postby JohnGaver » Tue Jun 18, 2024 7:15 pm

Could you please clarify how many runs of the setup you had before DAT files grew to gigabytes in size?

The snippet you shared would probably take a million (or billion) launches to achieve that effect?
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm

mdavtec
Posts: 31
Joined: Wed Jan 20, 2016 2:59 pm

Re: DAT files growing in size

Postby mdavtec » Thu Jun 20, 2024 12:30 pm

Hi John,
Thanks for your response.


For the setup program, which is showing the issue, the DAT file increases by 3 times every time it is called.

The size of the DAT file after 1st installation was 254 Bytes. After 7 executions of same installation program, the size of the DAT file is 171,886 Bytes.

I ran the same Setup.exe program 8th time and the file size grew to 515,245 Byes. The diff shows that it added following texts to the DAT file.
--
MYAH-PREDEF-COMPONENT - 4373 Lines

TRUE - 4374 Lines

// Two lines together
"MYAH-PREDEF-COMPONENT
25502319" - 13122 Lines
--

Let me know if you have any questions.
ExchA

JohnGaver
Posts: 129
Joined: Mon Feb 05, 2024 6:15 pm

Re: DAT files growing in size

Postby JohnGaver » Fri Jun 21, 2024 11:06 am

Please upgrade to the latest version of InstallAware, which has already resolved this issue.
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm

mdavtec
Posts: 31
Joined: Wed Jan 20, 2016 2:59 pm

Re: DAT files growing in size

Postby mdavtec » Fri Jun 21, 2024 12:21 pm

I tried with the latest version that I downloaded couple of days back - X16 (v33.14.159.2024) but seeing the same, identical growth in the DAT file size. DAT file grows by same identical amount as we are seeing with version X14.

Little bit of history
Originally, we were using IA v18 (v18.x.x.x) and then we didn't have this problem. Then we upgraded to IA X14 (v31.01.00.2021) and then we started seeing the issue. This is the version we are using with our shipped product components.
ExchA

JohnGaver
Posts: 129
Joined: Mon Feb 05, 2024 6:15 pm

Re: DAT files growing in size

Postby JohnGaver » Fri Jun 21, 2024 2:24 pm

I see that you have an open support ticket (private) with us with <redacted> participating.

Since we were unable to resolve your issue here, please refer to that ticket for future updates.

Thank you very much for this opportunity to be of service!
John Gaver
InstallAware Skunkworks
InstallAware Multi Platform - Liberating DEB/RPM/PKG/MSI(X) into universal native setups!
Get your free copy today - https://www.installaware.com/installaware-multi-platform.htm


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 27 guests