Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-02-2014, 08:40
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Another question,, its posible to add a round mask with botva2 and how? thanks.
Reply With Quote
Sponsored Links
  #2  
Old 03-02-2014, 14:52
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
it's possible and the how part, you need contact me via PM.
Reply With Quote
  #3  
Old 11-02-2014, 00:17
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
And another question... how can i call filenamelabel when the compression is external? i mean compressed with freearc.
Reply With Quote
  #4  
Old 11-02-2014, 02:49
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by Logrim View Post
And another question... how can i call filenamelabel when the compression is external? i mean compressed with freearc.
if you use ISDone, check this function
Code:
function ProgressCallback(OveralPct,CurrentPct: integer;CurrentFile,TimeStr1,TimeStr2,TimeStr3:PAnsiChar): longword;
CurrentFile is container with current extract file name

e.g.
Code:
 LabelCurrFileName.Caption:='Current File Name:  '+MinimizePathName(CurrentFile, LabelCurrFileName.Font, LabelCurrFileName.Width-ScaleX(100));
this code was taken from original ISDone 0.6 example
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
Logrim (11-02-2014), papas (02-09-2016)
  #5  
Old 11-02-2014, 05:48
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Thanks altef_4, problem solved.. and the detect install and offer unninstall too. :d Thanks for your help, man.

P.D. if i #define x64.. its the same than iswin64?, i try to do this for x64 registry keys and for x86 with RegWriteStringValue, but i dont have any way to test in x86 system.. The script work like a charm in x64

This is the way i do it:

#ifdef x64
RegWriteStringValue(HKLM,'SOFTWARE\Wow6432Node\Mic rosoft\Windows\CurrentVersion\Uninstall\' + GameName('') + '_is1','UninstallString','"'+ExpandConstant('{unin stallexe}')+'" /Silent');
#else
RegWriteStringValue(HKCU,'Software\Microsoft\Windo ws\CurrentVersion\Uninstall\' + GameName('') + '_is1','UninstallString','"'+ExpandConstant('{unin stallexe}')+'" /Silent');
#endif

Is this correct?

Last edited by Logrim; 11-02-2014 at 05:53.
Reply With Quote
  #6  
Old 12-02-2014, 07:22
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by Logrim View Post
Thanks altef_4, problem solved.. and the detect install and offer unninstall too. :d Thanks for your help, man.

P.D. if i #define x64.. its the same than iswin64?....
no, its not, if you use any pre processor directive e.g. #define, #include and others, its only works in compilation stage.
example how to use iswin64 with registry:

if iswin64 then
RegWriteStringValue(HKLM,'SOFTWARE\Wow6432Node\Mic rosoft\Windows\CurrentVersion\Uninstall\' + GameName('') + '_is1','UninstallString','"'+ExpandConstant('{unin stallexe}')+'" /Silent')
else
RegWriteStringValue(HKCU,'Software\Microsoft\Windo ws\CurrentVersion\Uninstall\' + GameName('') + '_is1','UninstallString','"'+ExpandConstant('{unin stallexe}')+'" /Silent');
Reply With Quote
The Following User Says Thank You to altef_4 For This Useful Post:
Logrim (12-02-2014)
  #7  
Old 12-02-2014, 13:20
Andrey167's Avatar
Andrey167 Andrey167 is offline
Registered User
 
Join Date: Nov 2013
Location: Azerbaycan
Posts: 134
Thanks: 208
Thanked 124 Times in 46 Posts
Andrey167 is on a distinguished road
can have someone else there is an example check md5
Reply With Quote
  #8  
Old 14-02-2014, 03:22
jamel2013's Avatar
jamel2013 jamel2013 is offline
Registered User
 
Join Date: Nov 2013
Location: ALG
Posts: 140
Thanks: 185
Thanked 171 Times in 41 Posts
jamel2013 is on a distinguished road
FontExpert is the software you need to view and manage fonts
installed or uninstalled on your computer. Not only it can display
these policies but also edit their properties and in print
reports. For easy searching, it can assign keywords and
organize them into categories. Obviously, you can copy, move or
remove fonts and if necessary even perform a filter or sort
according to your own criteria. Furthermore, FontExpert is able to detect and
resolve errors in installed fonts and also create a file
GIF, JPG, PNG, TIFF, BMP or even a HTML page from fonts
selected.

https://www.zeta-uploader.com/116132814
Reply With Quote
  #9  
Old 14-02-2014, 09:49
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
One question.. i try to execute directx in ssPostInstall.. my code for this is:

Quote:
procedure CurStepChanged(CurStep: TSetupStep);
begin
if (CurStep=ssPostInstall) then begin
if (DirectXCB.Checked = True) then begin
FileStatusLabel.Caption := ExpandConstant('{cm:Installing} ') + ExpandConstant('{#Redist1}') + ExpandConstant(', {cm:Wait}');
Exec(ExpandConstant('{src}\_CommonRedist\DirectX\D XSETUP.exe'),'/Silent',false);
but return invalid numbers of parameters error.. i'm lost,, what is wrong? thanks.
end;
Reply With Quote
  #10  
Old 14-02-2014, 10:42
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by Logrim View Post
One question.. i try to execute directx in ssPostInstall.. my code for this is:



but return invalid numbers of parameters error.. i'm lost,, what is wrong? thanks.
end;
Code:
if (CurStep=ssPostInstall) then begin
  if (DirectXCB.Checked = True) then begin
    FileStatusLabel.Caption := ExpandConstant('{cm:Installing} ') + ExpandConstant('{#Redist1}') + ExpandConstant(', {cm:Wait}');
    Exec(ExpandConstant('{src}\_CommonRedist\DirectX\DXSETUP.exe'),'/Silent',ExpandConstant('{src}'),1,ewWaitUntilIdle,ResCode);
  end;
end;
original Exec function looks like:
Code:
function Exec(const Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ResultCode: Integer): Boolean;
p.s. add in var section
ResCode: integer;
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
Logrim (15-02-2014), papas (02-09-2016)
  #11  
Old 15-02-2014, 00:28
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
Edit: All Problem Solved. Thanks for your answers Altef. Only one more dude. I try to install silently the nvidia physx msi packaje, mi code is this:

Quote:
if (NvidiaPhysxCB.Checked = True) then begin
FileStatusLabel.Caption := ExpandConstant('{cm:Installing} ') + ExpandConstant('{#Redist3}') + ExpandConstant(', {cm:Wait}');
Exec(ExpandConstant('{sys}\msiexec.exe {src}\_CommonRedist\PhysX\PhysX-9.13.0604-SystemSoftware.msi'),'/qn /i',ExpandConstant('{src}'),1,ewWaitUntilIdle,ResCo de);
but dont install,, no errors, nothing,, dont install.. what are i doing wrong?

Last edited by Logrim; 15-02-2014 at 08:25.
Reply With Quote
  #12  
Old 15-02-2014, 08:39
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
check version number/msi extension. PhysX-9.13.0604-SystemSoftware.msi

sometime new files are exe not msi.

check this thread for component values ( redists )
http://fileforums.com/showthread.php?t=95092
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
Logrim (15-02-2014)
  #13  
Old 15-02-2014, 10:00
Logrim Logrim is offline
Registered User
 
Join Date: Jun 2009
Location: Spain
Posts: 153
Thanks: 116
Thanked 72 Times in 44 Posts
Logrim is on a distinguished road
all syntax is correct pakrat2k2.. Only problem is the {sys}\msiexec.exe.. i dont know where allocate it, lol.. .

P.D. And the progressbar blink while install and i dont know why..

Last edited by Logrim; 15-02-2014 at 10:26.
Reply With Quote
  #14  
Old 16-02-2014, 04:57
GloverK1911's Avatar
GloverK1911 GloverK1911 is offline
Registered User
 
Join Date: Nov 2013
Location: Viet Nam
Posts: 116
Thanks: 22
Thanked 8 Times in 4 Posts
GloverK1911 is on a distinguished road
I get error while installing
i use Conversion Quick Archive Packer of Razor
script inno i use: http://fileforums.com/showpost.php?p...&postcount=295
Reply With Quote
  #15  
Old 16-02-2014, 06:36
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
set up arc.ini
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
GloverK1911 (17-02-2014)
Reply


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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 11:38.


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