| Author |
Message |
   
sacramento
Member Username: sacramento
Post Number: 143 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, August 01, 2011 - 09:05 pm: |
|
OK...thanks |
   
randem
Moderator Username: randem
Post Number: 1956 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, August 01, 2011 - 08:47 pm: |
|
However the files you mentioned are VB6 files so no research is needed... Just copy the files to another folder and use them from there. |
   
randem
Moderator Username: randem
Post Number: 1955 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, August 01, 2011 - 08:45 pm: |
|
I will re-iterate... You cannot use the files directly from the \Windows\System32\ folder... (This is intentional so that you will research the files). You copy them to another folder then put that folder in the search tab. You do this after you do the research to determine IF you can deploy these files... |
   
sacramento
Member Username: sacramento
Post Number: 142 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, August 01, 2011 - 08:34 pm: |
|
Hi: this files are marked in RED: Source: msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: comctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: msflxgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: msmask32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: tabctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; They are all in C:\windows\System32, and I have put in the search folder tab, this path, but Innoscrpit delete the path, after run to make the script...something wrong? Ok...I can put the files into a folder, but don't should work with the path that i had present? |
   
randem
Moderator Username: randem
Post Number: 1945 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 02:05 pm: |
|
You have to copy the files to another location, then tell InnoScript where they are. Of course after you verify that they are safe to deploy... |
   
randem
Moderator Username: randem
Post Number: 1944 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 01:58 pm: |
|
As explained in the help and on the screen when the run is finished: Search your hard disk for all .dep files. Create a folder where you will be placing all the dependent ocx/dll/exe that your app needs and copy all the .dep files to it. This folder is also where you will copy any files that you have found safe to re-distribute. You will tell InnoScript where this folder is when running in SAFE MODE by placing the path name into the Search Area box before attempting to run the conversion. ALSO If running in safe mode and you have copied the files from the system folder to another folder. Place the path of that folder into the Search Folder Tab so that the files can be found there. You should also copy any .dep files for the same files there also. |
   
sacramento
Member Username: sacramento
Post Number: 141 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 01:49 pm: |
|
yes with safe mode the lines apperas in red... The question is: Once Innoscript do this automatically, why the apllication can't find the sources of the project? |
   
randem
Moderator Username: randem
Post Number: 1943 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 01:28 pm: |
|
Yes, They were not found... Not found = No Source... |
   
sacramento
Member Username: sacramento
Post Number: 140 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 01:25 pm: |
|
do you have an explanation why the files don't have a source? That's because the script as made new... |
   
randem
Moderator Username: randem
Post Number: 1942 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 12:55 pm: |
|
Besides that script would never compile without those files being found... |
   
randem
Moderator Username: randem
Post Number: 1941 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 12:44 pm: |
|
That is why you do not use 'UNSAFE MODE', that is just a sort of diagnostic tool so that you can find where the files reside on your system then you do the proper research with those files. There is an explanation/warning of this each time you run InnoScript that tells you EXACTLY what to do for this case. |
   
sacramento
Member Username: sacramento
Post Number: 139 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 12:33 pm: |
|
Hi: With "Unsafe Mode" i don't have any Red marks |
   
randem
Moderator Username: randem
Post Number: 1940 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 11:50 am: |
|
On second look, I see these lines with no source path: Source: msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: comctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: msflxgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: msmask32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: tabctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; How did you get these into the script without a source path. InnoScript would have marked them missing (in RED). |
   
randem
Moderator Username: randem
Post Number: 1939 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 11:48 am: |
|
I see nothing that jumps out at me. What issue do you have when you install using this script? |
   
sacramento
Member Username: sacramento
Post Number: 138 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 27, 2011 - 11:36 am: |
|
Hi: Returning script and the problem with COMCTL32.OCX i had create a new script...Can you see, please, if something is wrong? ; InnoScript Version 10.5 Build 9 ; Randem Systems, Inc. ; Copyright (c) 2002 - 2011, Randem Systems, Inc. ; Website: http://www.randem.com ; Support: http://www.randem.com/cgi-bin/discus/discus.cgi ; OS: Windows XP 5.1 build 2600 (Service Pack 3) ; Derived from VB VBP Project File ; Designed for Inno Setup Version: 5.4.0 (a) ; Installed Inno Setup Version: 5.4.0 (a) ; Date: Julho 27, 2011 ; Local Machine Settings. Use these settings as a template for your installation folders ; {app} : C:\Program Files\Randem Systems\InnoScript ; {appdata} : C:\Documents and Settings\Manuel Sacramento\Application Data\Randem Systems\InnoScript\ ; {localappdata} : C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\InnoScript\ ; {cf} : C:\Program Files\Common Files\Randem Systems ; {tmp} : C:\Documents and Settings\Manuel Sacramento\Local Settings\Temp\ ; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\ ; {pf} : C:\Program Files\ ; VB Runtime Files Folder: C:\Program Files\Randem Systems\InnoScript\InnoScript 10\VB 6 Redist Files\ ; Visual Basic Project File (.vbp): J:\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\GIA.vbp ; Inno Setup Script Output File (.iss): J:\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\Scripts\GIA 1.0.0 Release.iss ;: C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\Release.tpl ;: J:\Projectos VB\Projectos Inno Script\Templates\GIA.tpl ;: C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\AutoOSUpdater.tpl ;: C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\Crystal Reports.tpl ; ------------------------ ; References ; ------------------------ ; Microsoft DAO 3.6 Object Library - (dao360.dll) ; Crystal ActiveX Report Viewer Library 11.5 - (CRViewer.dll) ; Crystal Reports ActiveX Designer Run Time Library 11.5 - (craxdrt.dll) ; Microsoft ActiveX Data Objects 2.5 Library - (msado25.tlb) ; Microsoft Data Environment 1.0 (SP4) - (msde.dll) ; Microsoft Data Environment Extensibility Objects 1.0 - (DEEXT.TLB) ; Microsoft Data Environment Instance 1.0 (SP4) - (msderun.dll) ; Microsoft Data Formatting Object Library 6.0 (SP6) - (msstdfmt.dll) ; -------------------------- ; Components ; -------------------------- ; Microsoft Windows Common Controls-2 6.0 (SP4) - (mscomct2.ocx) ; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx) ; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx) ; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx) ; Microsoft FlexGrid Control 6.0 (SP3) - (msflxgrd.ocx) ; Microsoft Masked Edit Control 6.0 (SP3) - (msmask32.ocx) ; Microsoft Tabbed Dialog Control 6.0 (SP5) - (tabctl32.ocx) [Setup] SetupLogging=Yes AppId=GIA ;------------------------------------------------------------------------------------------------------------------------ ; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company ;------------------------------------------------------------------------------------------------------------------------ AppName=GIA 1.0.0 AppVerName=GIA AppPublisher= ;------------------------------------------------------------------------------------------------------------------------ AppVersion=1.0.0 VersionInfoVersion=1.0.0 AllowNoIcons=yes DefaultGroupName=GIA DefaultDirName={pf}\GIA 1 PrivilegesRequired=Admin MinVersion=0,5.01 OnlyBelowVersion=0,6.0 Compression=lzma OutputBaseFilename=GIA0100000Release [Tasks] Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons} Name: AutoOSUpdater; Description: Install Database Support Updater; GroupDescription: Database Support: Name: CRInstallation; Description: Install Crystal Reports Runtime Files; GroupDescription: Install CR Runtime Files: [Files] Source: J:\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\VB_VC_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; AfterInstall: InstallAutoOSUpdater('{tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe','/NORESTART /VERYSILENT'); Tasks: AutoOSUpdater; Source: J:\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\CRXI_5_RDC_Redistribution.msi; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; Tasks: CRInstallation Source: C:\Program Files\Common Files\designer\msde.dll; DestDir: {cf}\designer\; Flags: regserver restartreplace sharedfile; Source: C:\Program Files\Common Files\designer\msderun.dll; DestDir: {cf}\designer\; Flags: regserver restartreplace sharedfile; Source: msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: comctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: msflxgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: msmask32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: tabctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: J:\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\GIA.exe; DestDir: {app}; Flags: ignoreversion restartreplace; [INI] Filename: {app}\GIA.url; Section: InternetShortcut; Key: URL; String: [Icons] Name: {group}\GIA ; Filename : {app}\GIA.exe; WorkingDir: {app}; Name: {group}{cm:ProgramOnTheWeb, GIA }; Filename: {app}\GIA.url; Name: {group}{cm:UninstallProgram, GIA }; Filename: {uninstallexe}; Name: {commondesktop}\GIA ; Filename: {app}\GIA.exe; Tasks: Desktopicon ; WorkingDir: {app}; [Run] Filename: msiexec.exe; Parameters: "/package ""CRXI_5_RDC_Redistribution.msi"" /passive /promptrestart /l* ""{sd}\CRXI_5_RDC_Redistribution.msi.txt"""; WorkingDir: {tmp}; Flags: skipifdoesntexist runascurrentuser; Tasks: CRInstallation ; Register the Crystal Reports Merge Module components that need to be registered in place where the Merge Modules installed them Filename: regsvr32.exe; Parameters: /s {code:GetCLSIDFldr|!F62B9FA4-455F-4FE3-8A2D-205E4F0BCAFB@\11.5.9.1265}{code:LogFileName|crviewer.dll}; WorkingDir: {code:GetCLSIDFldr|!F62B9FA4-455F-4FE3-8A2D-205E4F0BCAFB@\11.5.9.1265}\; StatusMsg: Registering Crystal ActiveX Report Viewer Library 11.5; Tasks: CRInstallation; Flags: runascurrentuser Filename: regsvr32.exe; Parameters: /s {code:GetCLSIDFldr|!91FDA5AF-C945-4DDC-8C32-29A790CF16F0@\11.5.9.1265}{code:LogFileName|craxdrt.dll}; WorkingDir: {code:GetCLSIDFldr|!91FDA5AF-C945-4DDC-8C32-29A790CF16F0@\11.5.9.1265}\; StatusMsg: Registering Crystal Reports ActiveX Designer Run Time Library 11.5; Tasks: CRInstallation; Flags: runascurrentuser Filename: {app}\GIA.exe; Description: {cm:LaunchProgram, GIA }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app} [UninstallDelete] Type: files; Name: {app}\GIA.url Type: dirifempty; Name: {app} [InstallDelete] Type: files; Name: {app}\Install.log; [Comments] // Template Processing first character indicators usage. // // No Indicator Attempt replacement if cannot replace then add the line // + Plus Sign Force addition of template line into script (no attempted replacement). // ; Semi-colon Add line as a comment only. (No attempted replacement). // - Minus Sign Delete the line. (No attempted replacement). // & Ampersand Comment the line. (No attempted replacement). // [Code] Procedure InstallAutoOSUpdater(Filename: String; Param: String); var ErrorCode: Integer; begin ShellExec('', ExpandConstant(Filename), ExpandConstant(Param), '', SW_SHOW, ewWaitUntilTerminated, ErrorCode); end; //============================================================================ // Get the CLSID from the registry for the queried file to locate where this file was installed by the CR merge module // We do this so that we know where to register the file after installation. //============================================================================ function GetCLSIDFldr(Param: String): String; var Location: String; CSLID: String; LogFile: String; sStr: String; begin CSLID := Param; StringChangeEx(CSLID, '!', '{', True); StringChangeEx(CSLID, '@', '}', True); LogFile := ExpandConstant('{app}') + '\Install.log'; SaveStringToFile(LogFile, #13#10 + CSLID + #13#10, True); if not RegQueryStringValue(HKEY_CLASSES_ROOT, 'TypeLib\' + CSLID + '\0\win32','', Location) then Result := 'Not Registered !!!' + #13#10 + 'Possible Wrong Crystal Reports Version Installed on Source Machine or ' + #13#10 + 'Wrong CRystal Reports Merge Module Installed on Target Machine' + #13#10; begin Location := ExpandConstant(Location) sStr := #13#10 + Location + #13#10 + StringOfChar('*',70) + #13#10 SaveStringToFile(LogFile, sStr, True); Result := ExtractFileDir(Location); end; end; //----------------------------------------------------------------------------------------------------------------- // Log the filename process to a log file //----------------------------------------------------------------------------------------------------------------- function LogFileName(Filename: String): String; var LogFile: String; sSTr: String; begin LogFile := ExpandConstant('{app}') + '\Install.log'; sStr := #13#10 + 'Registering ' + Filename + #13#10; SaveStringToFile(LogFile, sStr, True); Result := Filename; end; //============================================================================ |
   
sacramento
Member Username: sacramento
Post Number: 137 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Thursday, July 21, 2011 - 10:07 pm: |
|
sory Randem...the problem it was the spaces, when i do copy/paste Thanks |
   
randem
Moderator Username: randem
Post Number: 1938 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Thursday, July 21, 2011 - 09:56 pm: |
|
They surely do (as I have shown). You have to be putting them in wrong or in the wrong locations. The codes are the very same ones that I have used here to test them. Remember no spaces at either the beginning or the end of each field. Use the backspace key to make sure there are no spaces. |
   
sacramento
Member Username: sacramento
Post Number: 136 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Thursday, July 21, 2011 - 09:54 pm: |
|
Hi: Thanks for the elements of registration, but unfornuttly, still don't work... |
   
randem
Moderator Username: randem
Post Number: 1935 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 20, 2011 - 10:39 pm: |
|
InnoScript will pick it up if it is in your VB project... Automatically. What changed since your update. |
   
sacramento
Member Username: sacramento
Post Number: 135 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 20, 2011 - 10:32 pm: |
|
it's not automatic? |
   
randem
Moderator Username: randem
Post Number: 1933 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 20, 2011 - 02:18 pm: |
|
COMCTL32.OCX is not in your new script. You are not deploying it. You do not have any components in your script. |
   
sacramento
Member Username: sacramento
Post Number: 134 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 20, 2011 - 02:00 pm: |
|
Hi: The script upadted: ; InnoScript Version 10.5 Build 9 ; Randem Systems, Inc. ; Copyright (c) 2002 - 2011, Randem Systems, Inc. ; Website: http://www.randem.com ; Support: http://www.randem.com/cgi-bin/discus/discus.cgi ; OS: Windows XP 5.1 build 2600 (Service Pack 3) ; Derived from VB VBP Project File ; Designed for Inno Setup Version: 5.4.0 (a) ; Installed Inno Setup Version: 5.4.0 (a) ; Date: Julho 21, 2011 ; Local Machine Settings. Use these settings as a template for your installation folders ; {app} : C:\Program Files\Randem Systems\InnoScript ; {appdata} : C:\Documents and Settings\Manuel Sacramento\Application Data\Randem Systems\InnoScript\ ; {localappdata} : C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\InnoScript\ ; {cf} : C:\Program Files\Common Files\Randem Systems ; {tmp} : C:\Documents and Settings\Manuel Sacramento\Local Settings\Temp\ ; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\ ; {pf} : C:\Program Files\ ; VB Runtime Files Folder: C:\Program Files\Randem Systems\InnoScript\InnoScript 10\VB 6 Redist Files\ ; Visual Basic Project File (.vbp): j:\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\GIA.vbp ; Inno Setup Script Output File (.iss): j:\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\Scripts\GIA 1.0.0 ReleaseUpdate.iss ;: C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\innoscript\Release\Templates\Crystal Reports.tpl ;: J:\Projectos VB\Projectos Inno Script\Templates\GIA.tpl ; ------------------------ ; References ; ------------------------ ; Microsoft DAO 3.6 Object Library - (dao360.dll) ; Crystal ActiveX Report Viewer Library 11.5 - (CRViewer.dll) ; Crystal Reports ActiveX Designer Run Time Library 11.5 - (craxdrt.dll) ; Microsoft ActiveX Data Objects 2.5 Library - (msado25.tlb) ; Microsoft Data Environment 1.0 (SP4) - (msde.dll) ; Microsoft Data Environment Extensibility Objects 1.0 - (DEEXT.TLB) ; Microsoft Data Environment Instance 1.0 (SP4) - (msderun.dll) ; Microsoft Data Formatting Object Library 6.0 (SP4) - (msstdfmt.dll) ; -------------------------- ; Components ; -------------------------- [Setup] SetupLogging=Yes AppId=GIA - Gestão Inscrição Aves ;------------------------------------------------------------------------------------------------------------------------ ; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company ;------------------------------------------------------------------------------------------------------------------------ AppName=GIA - Gestão Inscrição Aves 1.0.13 AppVerName=GIA - Gestão Inscrição Aves AppPublisher=Manuel Sacramento ;------------------------------------------------------------------------------------------------------------------------ AppVersion=1.0.13 VersionInfoVersion=1.0.13 AllowNoIcons=no DefaultGroupName=GIA DefaultDirName={pf}\GIA-Gestão Inscrição Aves\ AppCopyright=GIA-Gestão Inscrição Aves - PrivilegesRequired=None MinVersion=0,5.01 OnlyBelowVersion=0,6.0 Compression=lzma OutputBaseFilename=GIA - Gestão Inscrição AvesRelease [Tasks] Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons} Name: AutoOSUpdater; Description: Install Database Support Updater; GroupDescription: Database Support: [Files] Source: ..\Bandeiras\*.*; DestDir: {app}\Bandeiras\; Flags: ignoreversion recursesubdirs Source: ..\CLASSES 2010 CNJ.doc; DestDir: {app}; Flags: ignoreversion; Source: ..\Ficheiro Secções e Classes.txt; DestDir: {app}; Flags: ignoreversion; Source: ..\Ficheiro Sócios.txt; DestDir: {app}; Flags: ignoreversion; Source: ..\Listagem_Seccoes_Classes.rpt; DestDir: {localappdata}\Manuel Sacramento\Release\; Flags: ignoreversion; Source: ..\Ficha_Inscricao_Equipas.rpt; DestDir: {localappdata}\Manuel Sacramento\Release\; Flags: ignoreversion; Source: ..\Ficha_Inscricao_Feira_Aves.rpt; DestDir: {localappdata}\Manuel Sacramento\Release\; Flags: ignoreversion; Source: ..\Ficha_Inscricao_Individual.rpt; DestDir: {localappdata}\Manuel Sacramento\Release\; Flags: ignoreversion; Source: C:\Program Files\Common Files\designer\msde.dll; DestDir: {cf}\designer\; Flags: regserver restartreplace sharedfile; Source: C:\Program Files\Common Files\designer\msderun.dll; DestDir: {cf}\designer\; Flags: regserver restartreplace sharedfile; Source: C:\WINDOWS\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Source: ..\GIA.exe; DestDir: {app}; Flags: ignoreversion restartreplace; [INI] Filename: {app}\GIA.url; Section: InternetShortcut; Key: URL; String: [Icons] Name: {group}\GIA ; Filename : {app}\GIA.exe; WorkingDir: {app}; Name: {group}{cm:ProgramOnTheWeb, GIA }; Filename: {app}\GIA.url; Name: {group}{cm:UninstallProgram, GIA }; Filename: {uninstallexe}; Name: {commondesktop}\GIA ; Filename: {app}\GIA.exe; WorkingDir: {app}; [UninstallDelete] Type: files; Name: {app}\GIA.url Type: dirifempty; Name: {app} [InstallDelete] Type: files; Name: {app}\Install.log; [Code] //============================================================================ // Get the CLSID from the registry for the queried file to locate where this file was installed by the CR merge module // We do this so that we know where to register the file after installation. //============================================================================ function GetCLSIDFldr(Param: String): String; var Location: String; CSLID: String; LogFile: String; sStr: String; begin CSLID := Param; StringChangeEx(CSLID, '!', '{', True); StringChangeEx(CSLID, '@', '}', True); LogFile := ExpandConstant('{app}') + '\Install.log'; SaveStringToFile(LogFile, #13#10 + CSLID + #13#10, True); if not RegQueryStringValue(HKEY_CLASSES_ROOT, 'TypeLib\' + CSLID + '\0\win32','', Location) then Result := 'Not Registered !!!' + #13#10 + 'Possible Wrong Crystal Reports Version Installed on Source Machine or ' + #13#10 + 'Wrong CRystal Reports Merge Module Installed on Target Machine' + #13#10; begin Location := ExpandConstant(Location) sStr := #13#10 + Location + #13#10 + StringOfChar('*',70) + #13#10 SaveStringToFile(LogFile, sStr, True); Result := ExtractFileDir(Location); end; end; //----------------------------------------------------------------------------------------------------------------- // Log the filename process to a log file //----------------------------------------------------------------------------------------------------------------- function LogFileName(Filename: String): String; var LogFile: String; sSTr: String; begin LogFile := ExpandConstant('{app}') + '\Install.log'; sStr := #13#10 + 'Registering ' + Filename + #13#10; SaveStringToFile(LogFile, sStr, True); Result := Filename; end; //============================================================================ |
   
sacramento
Member Username: sacramento
Post Number: 133 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 20, 2011 - 12:46 pm: |
|
Hi: Yes i had use cut/paste, but without exit... Can you send me again the elements? THanks |
   
randem
Moderator Username: randem
Post Number: 1930 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, July 20, 2011 - 08:12 am: |
|
Yes, the codes from that date work in the 10.X versions. Please make sure if you use cut/paste that you do not have any beginning or trailing spaces in the entry fields.
 |
   
sacramento
Member Username: sacramento
Post Number: 131 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, July 19, 2011 - 10:28 pm: |
|
I have a mail from you with elements for registration date 04-04-2011...can you confirm please? |
   
randem
Moderator Username: randem
Post Number: 1928 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, July 19, 2011 - 08:17 am: |
|
The license information did not change between versions 10.3 and 10.5 they are absolutely the same. I haven't sent you any new registration information lately... When did you get the NEW registration information? And for what version? |
   
sacramento
Member Username: sacramento
Post Number: 129 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, July 19, 2011 - 01:40 am: |
|
I had update to version 10.5 and when i start innoscript i have the "Innoscript License Registration"....I give the elements that you had send me (new elements and passwords), but after fill all the fields the program don't start |
   
randem
Moderator Username: randem
Post Number: 1926 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, July 18, 2011 - 03:24 pm: |
|
I sorry. I have no idea of what you mean. Please explain in detail. Updated from what version to what version. The less guessing I have to do the better the answer I can give. |
   
sacramento
Member Username: sacramento
Post Number: 128 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, July 18, 2011 - 09:22 am: |
|
I had upadte to the new version, but the elements of the license don't affect the program and i can't enter... |
   
randem
Moderator Username: randem
Post Number: 1924 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Monday, July 18, 2011 - 07:33 am: |
|
I don't see how this script works at all. All the source paths and statements are not valid. You should update InnoScript and Inno Setup to the latest version also. But installing on a Win 7 system the files should go to the sysWOW64 folder automatically. If not you can re-direct them with the {syswow64} directive. |
   
sacramento
Member Username: sacramento
Post Number: 126 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Sunday, July 17, 2011 - 11:48 pm: |
|
hi randem: My script: ; InnoScript Version 10.3 Build 5 ; Randem Systems, Inc. ; Copyright (c) 2002 - 2010, Randem Systems, Inc. ; Websit..\..\.. http://www.randem.com ; Support: http://www.randem.com/cgi-bin/discus/discus.cgi ; OS: Windows XP 5.1 build 2600 (Service Pack 3) ; Derived from VB VBP Project File ; Designed for Inno Setup Version: 5.2.3 ; Installed Inno Setup Version: 5.2.3 ; Local Machine Settings. Use these settings as a template for your installation folders ; {app} : C:\Program Files\Randem Systems\innoscript ; {appdata} : C:\Documents and Settings\Manuel Sacramento\Application Data\Randem Systems\innoscript\ ; {localappdata} : C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\innoscript\ ; {cf} : C:\Program Files\Common Files\Randem Systems ; {tmp} : C:\Documents and Settings\Manuel Sacramento\Local Settings\Temp\ ; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\innoscript\Release\ ; {pf} : C:\Program Files\ ; Dat..\..\.. Setembro 14, 2010 ; VB Runtime Files Folder: C:\Program Files\Randem Systems\InnoScript\InnoScript 9\VB 6 Redist Files\ ; Visual Basic Project File (.vbp): ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\GIA.vbp ; Inno Setup Script Output File (.iss): ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\Scripts\GIA 1.0.0 Release.iss ;: C:\Documents and Settings\Manuel Sacramento\Local Settings\Application Data\Randem Systems\innoscript\Release\Templates\Crystal Reports.tpl ; ------------------------ ; References ; ------------------------ ; Microsoft DAO 3.6 Object Library - (dao360.dll) ; Crystal ActiveX Report Viewer Library 11.5 - (CRViewer.dll) ; Crystal Reports ActiveX Designer Run Time Library 11.5 - (craxdrt.dll) ; Microsoft ActiveX Data Objects 2.5 Library - (msado25.tlb) ; Microsoft Data Environment 1.0 (SP4) - (MSDE.DLL) ; Microsoft Data Environment Extensibility Objects 1.0 - (DEEXT.TLB) ; Microsoft Data Environment Instance 1.0 (SP4) - (MSDERUN.DLL) ; Microsoft Data Formatting Object Library 6.0 (SP4) - (msstdfmt.dll) ; -------------------------- ; Components ; -------------------------- ; Microsoft Windows Common Controls-2 6.0 (SP6) - (mscomct2.ocx) ; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx) ; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx) ; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx) ; Microsoft FlexGrid Control 6.0 (SP3) - (msflxgrd.ocx) ; Microsoft Masked Edit Control 6.0 (SP3) - (msmask32.ocx) ; Microsoft Tabbed Dialog Control 6.0 (SP5) - (tabctl32.ocx) [Setup] SetupLogging=Yes AppId=GIA - Gestão Inscrição Aves ;------------------------------------------------------------------------------------------------------------------------ ; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company ;------------------------------------------------------------------------------------------------------------------------ AppName=GIA - Gestão Inscrição Aves 1.0.13 AppVerName=GIA - Gestão Inscrição Aves AppPublisher=Manuel Sacramento ;------------------------------------------------------------------------------------------------------------------------ AppVersion=1.0.13 VersionInfoVersion=1.0.13 AllowNoIcons=no DefaultGroupName=GIA DefaultDirName={pf}\GIA-Gestão Inscrição Aves\ AppCopyright=GIA-Gestão Inscrição Aves - PrivilegesRequired=None MinVersion=0,6.0 Compression=lzma OutputBaseFilename=GIA - Gestão Inscrição AvesRelease [Tasks] Nam..\..\.. Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons} Nam..\..\.. AutoOSUpdater; Description: Install Support for Database Operations; GroupDescription: Database Support: Nam..\..\.. CRInstallation; Description: Install Crystal Reports Runtime Files; GroupDescription: Install CR Runtime Files: [Files] Sourc..\..\.. ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\Bandeiras\*.*; DestDir: {app}\Bandeiras\; Flags: ignoreversion recursesubdirs Sourc..\..\.. VB_VC_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; Tasks: AutoOSUpdater Sourc..\..\.. CRXI_5_RDC_Redistribution.msi; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; Tasks: CRInstallation Sourc..\..\.. ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\BDGIA.mdb; DestDir: {localappdata}\Manuel Sacramento\Release\; Flags: ignoreversion; Sourc..\..\.. ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\CLASSES 2010 CNJ.doc; DestDir: {app}; Flags: ignoreversion; Sourc..\..\.. ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\Barra.jpg; DestDir: {app}; Flags: ignoreversion; Sourc..\..\.. ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\Ficheiro Secções e Classes.txt; DestDir: {app}; Flags: ignoreversion; Sourc..\..\.. C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll; DestDir: {cf}\Microsoft Shared\DAO\; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\Program Files\Common Files\designer\MSDE.DLL; DestDir: {cf}\designer\; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\Program Files\Common Files\designer\MSDERUN.DLL; DestDir: {cf}\designer\; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\system32\mscomct2.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\comctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\msflxgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\msmask32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. C:\WINDOWS\tabctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile; Sourc..\..\.. ..\..\..\Projectos VB\GIA - GESTÃO INSCRIÇÃO AVES\GIA.exe; DestDir: {app}; Flags: ignoreversion restartreplace; [INI] Filenam..\..\.. {app}\GIA.url; Section: InternetShortcut; Key: URL; String: [Icons] Nam..\..\.. {group}\GIA ; Filename : {app}\GIA.exe; WorkingDir: {app} Nam..\..\.. {group}{cm:ProgramOnTheWeb, GIA }; Filenam..\..\.. {app}\GIA.url; IconFilenam..\..\.. {app}\GIA.ico Nam..\..\.. {group}{cm:UninstallProgram, GIA }; Filenam..\..\.. {uninstallexe} Nam..\..\.. {commondesktop}\GIA ; Filenam..\..\.. {app}\GIA.exe; Tasks: Desktopicon ; WorkingDir: {app} [Run] Filenam..\..\.. {tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist runascurrentuser; Tasks: AutoOSUpdater Filenam..\..\.. msiexec.exe; Parameters: "/package ""CRXI_5_RDC_Redistribution.msi"" /passive /promptrestart /l* ""{tmp}\crmsilog.txt"""; WorkingDir: {tmp}; Flags: skipifdoesntexist runascurrentuser; Tasks: CRInstallation ; Register the Crystal Reports Merge Module components that need to be registered in place where the Merge Modules installed them Filenam..\..\.. regsvr32.exe; Parameters: /s {cod..\..\..GetCLSIDFldr|!F62B9FA4-455F-4FE3-8A2D-205E4F0BCAFB@\b.5}{cod..\..\..LogFileName|crviewer.dll}; WorkingDir: {cod..\..\..GetCLSIDFldr|!F62B9FA4-455F-4FE3-8A2D-205E4F0BCAFB@\b.5}\; StatusMsg: Registering Crystal ActiveX Report Viewer Library 11.5; Tasks: CRInstallation; Flags: runascurrentuser Filenam..\..\.. regsvr32.exe; Parameters: /s {cod..\..\..GetCLSIDFldr|!91FDA5AF-C945-4DDC-8C32-29A790CF16F0@\b.5}{cod..\..\..LogFileName|craxdrt.dll}; WorkingDir: {cod..\..\..GetCLSIDFldr|!91FDA5AF-C945-4DDC-8C32-29A790CF16F0@\b.5}\; StatusMsg: Registering Crystal Reports ActiveX Designer Run Time Library 11.5; Tasks: CRInstallation; Flags: runascurrentuser Filenam..\..\.. {app}\GIA.exe; Description: {cm:LaunchProgram, GIA }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app} [UninstallDelete] Typ..\..\.. files; Nam..\..\.. {app}\GIA.url Typ..\..\.. dirifempty; Nam..\..\.. {app} [InstallDelete] Typ..\..\.. files; Nam..\..\.. {app}\Install.log; [Code] //============================================================================ // Get the CLSID from the registry for the queried file to locate where this file was installed by the CR merge module // We do this so that we know where to register the file after installation. //============================================================================ function GetCLSIDFldr(Param: String): String; var Location: String; CSLID: String; LogFil..\..\.. String; sStr: String; begin CSLID := Param; StringChangeEx(CSLID, '!', '{', True); StringChangeEx(CSLID, '@', '}', True); LogFile := ExpandConstant('{app}') + '\Install.log'; SaveStringToFile(LogFile, #13#10 + CSLID + #13#10, True); if not RegQueryStringValue(HKEY_CLASSES_ROOT, 'TypeLib\' + CSLID + '\0\win32','', Location) then Result := 'Not Registered !!!' + #13#10 + 'Possible Wrong Crystal Reports Version Installed on Source Machine or ' + #13#10 + 'Wrong CRystal Reports Merge Module Installed on Target Machine' + #13#10; begin Location := ExpandConstant(Location) sStr := #13#10 + Location + #13#10 + StringOfChar('*',70) + #13#10 SaveStringToFile(LogFile, sStr, True); Result := ExtractFileDir(Location); end; end; //----------------------------------------------------------------------------------------------------------------- // Log the filename process to a log file //----------------------------------------------------------------------------------------------------------------- function LogFileName(Filenam..\..\.. String): String; var LogFil..\..\.. String; sSTr: String; begin LogFile := ExpandConstant('{app}') + '\Install.log'; sStr := #13#10 + 'Registering ' + Filename + #13#10; SaveStringToFile(LogFile, sStr, True); Result := Filename; end; //============================================================================ |
   
sacramento
Member Username: sacramento
Post Number: 125 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Sunday, July 17, 2011 - 11:34 pm: |
|
Hi Randem: Thanks for your reply... later i go send my script to you, and i go test your suggestion by install the syswow64 file |
   
randem
Moderator Username: randem
Post Number: 1922 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Friday, July 15, 2011 - 08:34 am: |
|
Aloha Sacramento, Without knowing more about the script or the installation environment all I can do is guess... These are a few things that need to be correct for the file to be used in Vista/Windows 7. 1 - The installer needs to be run as an elevated user. IE. an Administrator. 2 - The user computer should not be infected. 3 - Install the file in c:\windows\sysWOW64 and do not attempt to register it. |
   
sacramento
Member Username: sacramento
Post Number: 124 Registered: 03-2008
Rating: N/A Votes: 0 (Vote!) | | Posted on Friday, July 15, 2011 - 02:54 am: |
|
Hi: After installed an aplicattion the user as related a error with the component COMCTL32.OCX "Component comctl32.ocx or one of it's dependencies not correct registered....." The OS is W7... This is a problem of the installer that not register the component or a problem of thw OS? Wich way i can resolve this? Thanks Manuel Sacramento |