Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: isnoend on February 23, 2008, 06:51:27 AM

Title: Vb6 vista
Post by: isnoend on February 23, 2008, 06:51:27 AM
Can inno script determine if OS is Vista and not  
install runtime files if it is?
Title: Vb6 vista
Post by: Randem on February 23, 2008, 11:18:08 AM
Yes, it does that already.  
 
BTW: InnoScript is one word...
Title: Vb6 vista
Post by: kiwimenthe on May 28, 2008, 09:33:39 PM
Hi,
Tell me if I am wrong, apparently VB runtime files are systematically installed on Vista OS. So in the installation script we have to take in consideration this case by adding this instruction
Title: Vb6 vista
Post by: Randem on May 28, 2008, 09:45:36 PM
[Files]
Source: e:server datarandemdevelopvb 6 redist filesmsvbvm60.dll; DestDir: {sys}; OnlyBelowVersion: 0,6.0; Flags:  regserver restartreplace sharedfile uninsneveruninstall  
Source: e:server datarandemdevelopvb 6 redist filesoleaut32.dll; DestDir: {sys}; OnlyBelowVersion: 0,6.0; Flags:  regserver restartreplace sharedfile uninsneveruninstall  
Source: e:server datarandemdevelopvb 6 redist filesolepro32.dll; DestDir: {sys}; OnlyBelowVersion: 0,6.0; Flags:  regserver restartreplace sharedfile uninsneveruninstall  
Source: e:server datarandemdevelopvb 6 redist filesasycfilt.dll; DestDir: {sys}; OnlyBelowVersion: 0,6.0; Flags:  sharedfile uninsneveruninstall restartreplace  
Source: e:server datarandemdevelopvb 6 redist filesstdole2.tlb; DestDir: {sys};  OnlyBelowVersion: 0,6.0; Flags:  uninsneveruninstall sharedfile regtypelib restartreplace  
Source: e:server datarandemdevelopvb 6 redist filescomcat.dll; DestDir: {sys}; OnlyBelowVersion: 0,6.0; Flags:  regserver restartreplace sharedfile uninsneveruninstall  
Source: e:server datarandemdevelopvb 5 redist filesMSVBVM50.DLL; DestDir: {sys}; OnlyBelowVersion: 0,6.0; Flags:  regserver restartreplace sharedfile uninsneveruninstall  
Source: E:Server DataRandemDevelopDeployable System FilesVB5DB.DLL; DestDir: {sys}; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,6.0; Flags:  regserver restartreplace sharedfile
 
All the line will benefit from having the restartreplace flag set.
 
Use this example instead of the other two.
Title: Vb6 vista
Post by: kiwimenthe on May 28, 2008, 10:11:01 PM
Ok, does the order of instructions is important inside
Title: Vb6 vista
Post by: Randem on May 28, 2008, 10:12:05 PM
No, the order is not important.