Click to See Complete Forum and Search --> : FileName Question
KenShin87
Nov 29th, 2007, 11:04 AM
HI,
In this case, what filename(Driver Installer) should i put?
Driver Name: 123
Driver Description: Sentinel System Driver Installer 7.4.0
Filename: "{app}\<???>"; Description: "{cm:LaunchProgram,Sentinel System Driver Installer 7.4.0}"; Flags: nowait postinstall skipifsilent
Thanks for any Help :blush:
RobDog888
Nov 29th, 2007, 11:42 AM
We will need allot more info then that.
What installer app are you using?
randem
Nov 29th, 2007, 06:18 PM
He is using Inno Setup...
Boy people expect us to be mid readers...
Hey KenShin87,
Start off by telling us what you hope to acomplish and with what you are doing it with. It would also help to show what you have already. This is a posting board...
KenShin87
Nov 30th, 2007, 03:57 AM
oo..
yes, i am using inno installer..
I hope the system can autorun the driver installer after finish the MDD-STD5V1P2T setup.
but when i put in code below, i get this error "Unable to execute file: d:\MDD-STD5V1P2T\ , CreateProcess failed;code 3, The system cannot find the path specified."
here is the code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=MDD-STD5V1P2T
AppVerName=First Version
AppPublisher=Westech Multimedia
DefaultDirName={pf}\MDD-STD5V1P2T
DefaultGroupName=MDD-STD5V1P2T
OutputBaseFilename=setup
SetupIconFile=D:\My Projects\PENG\Peng Folder\Icon\MDDIcon3.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
; begin VB system files
; (Note: Scroll to the right to see the full lines!)
Source: "MDD - 5V1P1T\stdole2.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: "MDD - 5V1P1T\msvbvm60.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "MDD - 5V1P1T\oleaut32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "MDD - 5V1P1T\olepro32.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: "MDD - 5V1P1T\asycfilt.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile
Source: "MDD - 5V1P1T\comcat.dll"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver
; end VB system files
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\MDD-STD.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Title.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\asycfilt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\comcat.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV1.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV2.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV3.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV4.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\FV5.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Logo.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\MDD-STD.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\msvbvm60.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Note.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\NoticeBoard.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\oleaut32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\olepro32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\PIC.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Scroll.mpl"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\stdole2.tlb"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\My Projects\PENG\Peng Folder\MDD - 5V1P1T\Temp.mpl"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
;Source: "MDD - 5V1P1T\ComCtl32.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "C:\Windows\system32\comdlg32.ocx"; DestDir: "{win}\system32"; Flags: ignoreversion
Source: "C:\Windows\system32\MScomctl.ocx"; DestDir: "{win}\system32"; Flags: ignoreversion
[Icons]
Name: "{group}\MDD-STD5V1P2T"; Filename: "{app}\MDD-STD.exe"
Name: "{group}\{cm:UninstallProgram,MDD-STD5V1P2T}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\MDD-STD5V1P2T"; Filename: "{app}\MDD-STD.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\MDD-STD.exe"; Description: "{cm:LaunchProgram,MDD-STD5V1P2T}"; Flags: nowait postinstall skipifsilent
Filename: "{app}\123"; Description: "{cm:LaunchProgram,Sentinel System Driver Installer 7.4.0}"; Flags: nowait postinstall skipifsilent
randem
Nov 30th, 2007, 04:14 AM
d:\MDD-STD5V1P2T\ is not the name of an application...
KenShin87
Nov 30th, 2007, 05:18 AM
nop...
d:\MDD-STD5V1P2T\ is correct .
the error is occured because of this line of code.. @@~
Filename: "{app}\123"; Description: "{cm:LaunchProgram,Sentinel System Driver Installer 7.4.0}"; Flags: nowait postinstall skipifsilent
BTW.. i solve the problem already..:)
but i still don know how to include a new empty folder into the package, can you send me some sample please? :p
thank you very much...
randem
Nov 30th, 2007, 05:24 AM
You could run your script in Inno Setup to find those kinds of errors...
Run Inno Script 8.0 Beta (http://www.***********/**********.html) on your project. It will give you all the samples that you need for creating folders in the [Dirs] section...
KenShin87
Nov 30th, 2007, 05:25 AM
I see....
Thanks again :wave: :wave: :wave:
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.