Innoscript/innosetup and flags for MS runtime distribution files

Started by slow_thought, December 10, 2008, 07:24:24 AM

Previous topic - Next topic

slow_thought

Hi - thanks for the quick reply.
 
I'm using Innoscript 9.2, build 19
 
Those files are defined atutomatically by Innoscript, and the flags are set wether I run from a VBP or a PDW.

Randem

No, in InnoScript those files are always listed as follows:
 
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesmsvbvm60.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesoleaut32.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesolepro32.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesasycfilt.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesstdole2.tlb; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile regtypelib; OnlyBelowVersion: 0,6
Source: c:server datarandemdevelopinnoscriptvb 6 redist filescomcat.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesvb5db.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile;  
 
 
What version of InnoScript are you using and how are you getting those files into the script?

slow_thought

In Innoscript, the key VB files are always listed with the following flags.
Source: vbfiles\olepro32.dll; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: vbfiles\comcat.dll; DestDir: {sys}; Flags:  ignoreversion;  
Source: vbfiles\stdole2.tlb; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace regtypelib;  
Source: vbfiles\asycfilt.dll; DestDir: {sys}; Flags:  ignoreversion;  
Source: vbfiles\oleaut32.dll; DestDir: {sys}; Flags:  ignoreversion;  
Source: vbfiles\msvbvm60.dll; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
 
 
However, on the innosetup website, [http://www.innosetup.com/iskb.php?vb] he recommends a different set of flags...
Source: vbfiles\stdole2.tlb;  DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: vbfiles\msvbvm60.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: vbfiles\oleaut32.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: vbfiles\olepro32.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: vbfiles\asycfilt.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
Source: vbfiles\comcat.dll;   DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
 
does it matter? why the difference?
If I use yours then I get some warning messages in innosetup on build.