Select to view content in your preferred language

Changing a aptx - 7zip

502
3
Jump to solution
11-04-2024 01:01 AM
Labels (2)
TorbjørnDalløkken2
Frequent Contributor

I've been trying to use the workaround for BUG-000158615 which envolves extracting a the project template, make changes and recompress it. However, I get an error using the updated version of the project template. 

This is the workaround I've tried:

1.rename the aptx to zip
2. extract the zip file using 7zip
3. make changes 
4. compress it to zip using 7zip
5. Rename the zip to aptx.

When I try to use the edited project template, I get an error saying that the project file does not exist.

TorbjrnDallkken2_0-1730710563391.png

Has anyone succeeded using a "recompressed" aptx file? 

0 Kudos
1 Solution

Accepted Solutions
Luke_Pinner
MVP Regular Contributor

I haven't tried and can't test at the moment but you may have ended up with an additional top level directory  inside the zip/aptx that you shouldn't have.

When you unzipped the original "Geoveg_oktober2024.aptx" you should have got a folder called "Geoveg_oktober2024".  Once you've made the changes, don't compress the "Geoveg_oktober2024" folder or you'll get "Geoveg_oktober2024" as the top level directory inside the zip/aptx.

Instead, go into that folder, select all the contents and compress those and rename the new zip Geoveg_oktober2024.aptx. 

View solution in original post

3 Replies
Luke_Pinner
MVP Regular Contributor

I haven't tried and can't test at the moment but you may have ended up with an additional top level directory  inside the zip/aptx that you shouldn't have.

When you unzipped the original "Geoveg_oktober2024.aptx" you should have got a folder called "Geoveg_oktober2024".  Once you've made the changes, don't compress the "Geoveg_oktober2024" folder or you'll get "Geoveg_oktober2024" as the top level directory inside the zip/aptx.

Instead, go into that folder, select all the contents and compress those and rename the new zip Geoveg_oktober2024.aptx. 

TorbjørnDalløkken2
Frequent Contributor

@Luke_Pinner, you're absolutely right! I compressed the actual folder and not the contents within that folder.

Thank you! 🙂

0 Kudos
AlfredBaldenweck
MVP Regular Contributor

This bit me pretty hard as well when working with normal APRX, as well.

Easiest thing to do is just edit directly in 7-Zip (Right-click--> Open-->Edit the file(s)--> close 7-Zip)

0 Kudos