Can inno script determine if OS is Vista and not
install runtime files if it is?
Yes, it does that already.
BTW: InnoScript is one word...
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
[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.
Ok, does the order of instructions is important inside
No, the order is not important.