Go Back   FileForums > Game Backup > PC Games

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2012, 07:08
gabrimor gabrimor is offline
Registered User
 
Join Date: Dec 2012
Location: Brazil
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
gabrimor is on a distinguished road
Unarc innosetup

Hi, thanks for reading.

How can I make an Inno script linked to an .ARC file.
Let's say the file is "ABC.arc"

What's the code to unarc it?
Reply With Quote
Sponsored Links
  #2  
Old 08-12-2012, 07:09
Stacked Deck Stacked Deck is offline
Banned
 
Join Date: Nov 2012
Location: Charon
Posts: 43
Thanks: 4
Thanked 33 Times in 9 Posts
Stacked Deck is on a distinguished road
What Inno Setup Script are you using?
Reply With Quote
  #3  
Old 08-12-2012, 08:46
gabrimor gabrimor is offline
Registered User
 
Join Date: Dec 2012
Location: Brazil
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
gabrimor is on a distinguished road
Thanks for fast answer, Stacked Deck.

First of all, I used a small game for tests, easy to work.

I'm searching around and I think I found an easiest way. For a noob, but it's working.
Only one problem: The final installer create an uninstaller but it doesn't work, the only uninstalled file is the uninstaller itself..


--> File to decompress abc.sfx (looks easiest and better then abc.arc)


How I'm building my Installer:

Step 1:
I build a simple script based on the directory of the game files. I save the script and close it without compile.

Step 2:
I create a .sfx archive with the game files.

Step 3:
Open the saved script of Step 1 and then overwrite 2 sections, [Files] and [Run] with this:

[Files]
Source: "D:\abc.exe"; DestDir: {tmp}; Flags: deleteafterinstall

[Run]
Filename: {tmp}\abc.exe; Parameters: "-x -d""{app}"" -y -s2"


Final script attached.
Attached Files
File Type: txt Script.txt (1.7 KB, 31 views)

Last edited by gabrimor; 08-12-2012 at 08:49.
Reply With Quote
  #4  
Old 08-12-2012, 09:01
gabrimor gabrimor is offline
Registered User
 
Join Date: Dec 2012
Location: Brazil
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
gabrimor is on a distinguished road
And I found a workaround, another...

Some people say it's not recommended:

[UninstallDelete]
Type: filesandordirs; name:{app}
Reply With Quote
  #5  
Old 08-12-2012, 10:06
Stacked Deck Stacked Deck is offline
Banned
 
Join Date: Nov 2012
Location: Charon
Posts: 43
Thanks: 4
Thanked 33 Times in 9 Posts
Stacked Deck is on a distinguished road
Quote:
Originally Posted by gabrimor View Post
And I found a workaround, another...

Some people say it's not recommended:

[UninstallDelete]
Type: filesandordirs; name:{app}
It is highly recommended to include that line when dealing with archived installers, to save space and to ensure that application is completely uninstalled.

The attachment below removes you problems forever.

Open script, goto line 333, set up archive name, directory and destination.

to disable, put //
done. Problem solved
Attached Files
File Type: 7z ISDone0.6final.7z (1.29 MB, 103 views)
Reply With Quote
The Following User Says Thank You to Stacked Deck For This Useful Post:
gabrimor (08-12-2012)
  #6  
Old 08-12-2012, 12:01
gabrimor gabrimor is offline
Registered User
 
Join Date: Dec 2012
Location: Brazil
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
gabrimor is on a distinguished road
WOW!!!!!!!!!!!!!!!!!!!

You're the man, you're really good, it's working like a charm.

Thanks for all your help and patience,
Gabriel
Reply With Quote
  #7  
Old 08-12-2012, 10:00
Stacked Deck Stacked Deck is offline
Banned
 
Join Date: Nov 2012
Location: Charon
Posts: 43
Thanks: 4
Thanked 33 Times in 9 Posts
Stacked Deck is on a distinguished road
Quote:
Originally Posted by gabrimor View Post
Thanks for fast answer, Stacked Deck.

First of all, I used a small game for tests, easy to work.

I'm searching around and I think I found an easiest way. For a noob, but it's working.
Only one problem: The final installer create an uninstaller but it doesn't work, the only uninstalled file is the uninstaller itself..


--> File to decompress abc.sfx (looks easiest and better then abc.arc)


How I'm building my Installer:

Step 1:
I build a simple script based on the directory of the game files. I save the script and close it without compile.

Step 2:
I create a .sfx archive with the game files.

Step 3:
Open the saved script of Step 1 and then overwrite 2 sections, [Files] and [Run] with this:

[Files]
Source: "D:\abc.exe"; DestDir: {tmp}; Flags: deleteafterinstall

[Run]
Filename: {tmp}\abc.exe; Parameters: "-x -d""{app}"" -y -s2"


Final script attached.
That's not necessary anymore.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fallout Nv Ultimate Edition 3xDVD9 to 2xDVD5 InnoSetup 1 LANGUAGE THADEADMAN2011 PC Games - CD/DVD Conversions 9 04-09-2022 05:40



All times are GMT -7. The time now is 04:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com