When you have compiled the setup program with Inno Setup Compiler, do you just distribute the setup program or all the programs associated with the setup program?
Please advise.
Printable View
When you have compiled the setup program with Inno Setup Compiler, do you just distribute the setup program or all the programs associated with the setup program?
Please advise.
Just the setup program, all in one .exe. Make sure you try it out first, as it has a few hidden surprises. I hope you used Inno Script first. It makes things a lot easier.
I am sending the AutoUpdater app someone on here recommended I installed. So I used the wizard to make the script and then modified the script for the silent install for the OS Update Wizard. Its the one that installs MDACs etc. Very useful program.Quote:
Originally Posted by dglienna
I used it this time. The last time, the installation required the client to go to windows update before it would run.
So it is not as reliable as one would think?Quote:
Originally Posted by dglienna
I've seen the AutoUpdater they're recomending.
But I wouldn't add it to one of my apps.
I'm not sayting it isn't ok.
But, if say, I were to downlod someones tic/tac/tow game and it silently changed my OS, I be more than p!$$ed!
BrailleSchool,
The AutoOSUpdater is very reliable. Did you use ********** to create your script?
longwolf,
You should not add things to your app that you don't understand or have at least read about.
random,
What make you think that I don't understand it?
My point is that I don't like the idea of just anyone making changes to my OS without warning or asking permission.
longwolf,
Well, for one... You got my handle WRONG!!!! So I would not think that you do not read and translate all the info. And two, Your OS is changed / updated all the time when you install database apps that make sure you are updated to the proper MDAC for it to operate etc...
No, I was talking about the first time, usine P&D Wizard, which required toe OS to be manually updated. AutoUpdater worked fine.Quote:
Originally Posted by BrailleSchool
Yes I did.Quote:
Originally Posted by randem
BrailleSchool,
Then why would you have to manually add the Automatic OS Updater? ********** does this for you. Upload your script, i'll take a look see.
According to the directions on your page:Quote:
Originally Posted by randem
I did not find a param screen, so I added the OSAutoUpdater file to the "add files" section, then I did not save when prompted, I then manually edited the source to what was specified on your screen.Quote:
Or you can add this to your Inno Setup Script using (of course change the source file location):
********** can do this automatically now. Just check the Auto OS Updater in the parameter screen.
The script is below:
Code:; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=English - Irish Gaelic Translator
AppVerName=English - Irish Gaelic Translator 1.0.74
AppPublisher=S. P. MaGuire
AppPublisherURL=http://www.brailleschool.com
AppSupportURL=http://www.brailleschool.com
AppUpdatesURL=http://www.brailleschool.com
DefaultDirName={pf}\English - Irish Gaelic Translator
DefaultGroupName=English - Irish Gaelic Translator
AllowNoIcons=yes
OutputDir=C:\Documents and Settings\Paddy\Desktop
OutputBaseFilename=setup
SetupIconFile=E:\Visual Basic Programs\Translator\Translator\PROJECT_FILES\RestrictedVersion\irelandflag.ico
Compression=lzma
SolidCompression=yes
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "E:\Visual Basic Programs\Translator\Translator\TRANSLATOR_FILES\RestrictedVersion\Translator.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Visual Basic Programs\Translator\Translator\TRANSLATOR_FILES\RestrictedVersion\Dictionary.mdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Visual Basic Programs\Translator\Translator\TRANSLATOR_FILES\RestrictedVersion\Help.chm"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Visual Basic Programs\Translator\Translator\TRANSLATOR_FILES\RestrictedVersion\Secured.mdw"; DestDir: "{app}"; Flags: ignoreversion
Source: "E:\Visual Basic Programs\Translator\Translator\TRANSLATOR_FILES\RestrictedVersion\VB_DCOM_MDAC_JET_AutoSetup.exe"; DestDir: "{tmp}"; Flags: ignoreversion deleteafterinstall
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\English - Irish Gaelic Translator"; Filename: "{app}\Translator.exe"
Name: "{group}\{cm:UninstallProgram,English - Irish Gaelic Translator}"; Filename: "{uninstallexe}"
Name: "{group}\English - Irish Gaelic Translator Help"; Filename: "{app}\Help.chm"
Name: "{userdesktop}\English - Irish Gaelic Translator"; Filename: "{app}\Translator.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\English - Irish Gaelic Translator"; Filename: "{app}\Translator.exe"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\Translator.exe"; Description: "{cm:LaunchProgram,English - Irish Gaelic Translator}"; Flags: nowait postinstall skipifsilent
Filename: "{tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe"; Parameters: /NORESTART /VERYSILENT WorkingDir: {tmp}; Flags: skipifdoesntexist
BrailleSchool,
You are confused. ********** is different from Inno Setup. Your script was created by Inno Setup Wizard not by **********.
I would suggest you use ********** to create your script. It will do a better job of it.
I think he meant to load the .iss file, zipped up.
Downloaded the app, installed and opened. I also have InnoSetup open and most of the items in the ********** prog are grayed out. I went into the readme manual and found its a pdf file and I am not able to read those with my screen reader. So I am kinda stuck here.Quote:
Originally Posted by randem
BrailleSchool,
It's simple.
File->New Project
Add the info for your project. Before this there is nothing to be greyed out.
You can use Acrobat Reader to open the pdf file.
I did that, it bought up many input fields, are all of them required? I left out the first two.Quote:
Originally Posted by randem
BrailleSchool,
It is pretty self explainatory. If you put in the required info, it can generate the required script. No info.... No script.
I now completed all the input fields, clicked on th exit button and the other input fields are still grayed out. hmm..Quote:
Originally Posted by randem
BrailleSchool,
There is no way the app can be greyed out, unless you never created a new project.
Figured it out now.Quote:
Originally Posted by randem
Number of files found: 12
Number of files unsafe: 6
Number of files not found: 5
Number of files deleted: 6
Elapsed Time: 00:01:44
Missing files:
mscomctl.ocx
msbind.dll
tabctl32.ocx
msadodc.ocx
msinet.ocx
With the above information, I am sure people are going to have a problem installing and using the app?
BrailleSchool,
No, only you. The rest read the documentation :) . Maybe this will help you with that. I have included the instructions in rtf format.
I could always search for those files and manually add them. That should work.Quote:
Originally Posted by randem
BrailleSchool,
Now, that would partially defeat the help of the app. Look at the documentation.
I have even included it in HTML format
I did a search for the missing files and they are located in C:\Windows\System32 so I am going to have to add that folder for the search.Quote:
Originally Posted by randem
Going to have to figure out how to add that folder to the files search.
BrailleSchool,
********** knows where the files are. There are reasons why they are missing. Are you reading the Manual?
Yes I am and not making much sense of it to be honest. Its a little ambiguous for a non-techie like me heheQuote:
Originally Posted by randem
BrailleSchool,
Upload your vbp and exe file. I will take a look.
I changed it to Unsafe mode and it told me 0 missing and 15 deleted.
This is what your prog created:
Unsafe Files:Code:; ********** Version 4.0.5
; Randem Systems, Inc.
; Copyright 2003, 2004
; website: http://www.***********
; support: http://www.**********.com/cgi-bin/discus/discus.cgi
; Date: May 10, 2005
; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 4.0\VB 6 Redist Files\
; Visual Basic Project File (.vbp): E:\Visual Basic Programs\Translator\Translator\PROJECT_FILES\FullVersion\prjTrial.vbp
; Inno Setup Script Output File (.iss): E:\Visual Basic Programs\Translator\Translator\TranslatorSetupScript.iss
; ------------------------
; Visual Basic References
; ------------------------
; Microsoft ActiveX Data Objects 2.0 Library
; Microsoft Data Binding Collection
; --------------------------
; Visual Basic Components
; --------------------------
; Microsoft Internet Controls
[Setup]
AppName=Translator
AppVerName=Translator 1.0.74
AppPublisher=S. P. MaGuire
AppPublisherURL=http://www.brailleschool.com
AppSupportURL=http://www.brailleschool.com
AppUpdatesURL=http://www.brailleschool.com/updates/
AppVersion=1.0.74
VersionInfoVersion=1.0.74
AllowNoIcons=yes
InfoBeforeFile=E:\Visual Basic Programs\Translator\Translator\PROJECT_FILES\FullVersion\InfoBefore.txt
InfoAfterFile=E:\Visual Basic Programs\Translator\Translator\PROJECT_FILES\FullVersion\InfoAfter.txt
WizardImageFile=E:\Visual Basic Programs\Translator\Translator\PROJECT_FILES\FullVersion\WizardImageFile.bmp
WizardSmallImageFile=E:\Visual Basic Programs\Translator\Translator\PROJECT_FILES\FullVersion\WizardSmallImageFile.bmp
DefaultGroupName=English - Irish Gaelic Translator
DefaultDirName=C:\Program Files\English - Irish Gaelic Translator
AppCopyright=Copyright 2005. S. P. MaGuire. All Rights Reserved.
PrivilegesRequired=None
MinVersion=4.0,0
OutputBaseFilename=setup
[Tasks]
Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional Icons:
Name: quicklaunchicon; Description: Create a &Quick Launch Icon; GroupDescription: Additional Icons:; Flags: unchecked
[Files]
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: sharedfile
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: sharedfile
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: sharedfile
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: sharedfile
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: regtypelib
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: sharedfile
Source: e:\visual basic programs\translator\translator\translator_files\fullversion\vb_dcom_mdac_jet_autosetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion
Source: e:\visual basic programs\translator\translator\translator_files\fullversion\dictionary.mdb; DestDir: {app}; Flags: ignoreversion
Source: e:\visual basic programs\translator\translator\translator_files\fullversion\help.chm; DestDir: {app}; Flags: ignoreversion
Source: e:\visual basic programs\translator\translator\translator_files\fullversion\secured.mdw; DestDir: {app}; Flags: ignoreversion
Source: e:\visual basic programs\translator\translator\translator.exe; DestDir: {app}; Flags: ignoreversion
Source: c:\windows\system32\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\program files\common files\system\ado\msado20.tlb; DestDir: {sys}; Flags: uninsneveruninstall regtypelib
Source: c:\windows\system32\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\windows\system32\tabctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\windows\system32\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: c:\windows\system32\msinet.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
[INI]
Filename: {app}\translator.url; Section: InternetShortcut; Key: URL; String: http://www.brailleschool.com
[Icons]
Name: {group}\Translator; Filename: {app}\translator.exe; WorkingDir: {app}
Name: {group}\Translator on the Web; Filename: {app}\translator.url
Name: {group}\Uninstall Translator; Filename: {uninstallexe}
Name: {userdesktop}\Translator; Filename: {app}\translator.exe; Tasks: desktopicon; WorkingDir: {app}
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Translator; Filename: {app}\translator.exe; Tasks: quicklaunchicon; WorkingDir: {app};
[Run]
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {app}\translator.exe; Description: Launch Translator; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\translator.url
MSBIND.DLL being one of them so I am going to have to make sure its not distributed with the setup.exe because itll screw up someones comp - that wouldnt be good.Quote:
Any DLL file from own Windows System directory
You should not deploy any DLLs out of your own Windows System directory because most of them are tailored for your own specific version of Windows, and will not work when installed on other versions. Often times a user's system will be rendered unbootable if you install a DLL from a different version of Windows. Another reason why it's a bad idea is that when you install programs on your computer, the DLLs may be replaced with different/incompatible versions, and were you not to notice this and take action, it could also lead to problems on users' systems when you build new installations.
Instead of deploying the DLLs from your Windows System directory, you should find versions that are specifically deemed "redistributable". Redistributable DLLs typically work on more than one version of Windows. To find redistributable versions of the Visual Basic and Visual C++ run-time DLLs, see the Inno Setup FAQ.
If you have a DLL residing in the Windows System directory that you are absolutely sure is redistributable, copy it to your script's source directory and deploy it from there instead.
BrailleSchool,
Ok, Now you are getting the hang of it. Now Compile and test you app on a clean machine.
No wonder your app didnt allow those files, I only found that information when I did an unsafe (NOT RECOMMENDED) option, and then took it to the Compiler from the other company, thats when I was given a prompt to read up a certain section of their help file.Quote:
Originally Posted by randem
Hmmmm. I am going to have to install this on my wifes Win ME machine in the morning, she wouldn't like it if I woke her up ay 5AM in the morning haha.
Even though these files are not going to be in the setup program, when the program is installed on another machine, then these files should be on there. But if they are not, then the app wont work correctly right?
BrailleSchool,
Not entirely correct. You just need to research those Unsafe files to see if they would cause damage. The best way is to chek the unsafe files on the target OS and compare them to the ones in your script (Use the log files for the version numbers of the files) make sure they are the same version etc...
If they are they you can deploy with no problems. If not then to deploy on that OS you may need to deploy the target OS files when deploying on that OS.
Sounds like a lot of work to do for many types of OS. I'll have to research almost all OS's because I'll never know what OS a downloader will have.Quote:
Originally Posted by randem
BrailleSchool,
Well, that the OS's that we have. If you want to be sure... That's the way to go. If not, you can just use the files that you have from your OS. They will probably work, but you will not know if they are causing problems.
Ahhh, the cost of doing things correctly... Don't you just love it!
Better than being sued by someone hahaQuote:
Originally Posted by randem
Right. Who wrote MSBIND.DLL?
hehehehehe
Microsoft wrote it lolQuote:
Originally Posted by dglienna