General

Started by Randem, May 26, 2008, 09:28:33 AM

Previous topic - Next topic

Randem

1) There is no reason that you app should not be launched. But since I don't know what else you have in your script that could be affecting it I cannot offer a suggestion or reason. Post your script so that I can make a educated determination.
 
2) Who says you should not use those flags. Give me some reference point otherwise I have no clue of what you mean.

mustafa_kol

Hi Randem;
I have two(2) questions for you.
 
1.Tell me why the following code does not Launch MyProg?,(Launch ck box shown checked.)  
  Filename: {app}MyProg.exe; Description: Launch MyProg; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
 
2.Why should I not use the following Flag for any file that goes to {sys} folder? I am more comfortable with this flag:
 
Flags: regserver onlyifdoesntexist sharedfile.  
Since I am not putting anything to {sys} folder and uninstalling what ever I put in. I set my lower requirements to be win98 and IE6 .
 
Regards
Kol

Randem

1 - Since Inno Setup already checks for the file version date BEFORE installing an file, only a file of a later date would ever be installed. When a installer installs/registers a file the Windows count is updated and the file will never be uninstalled until the count reaches zero again. Using a good installer and having good installation practices will NEVER destroy a user's computer. However someone who does not take these things into account will.
 
2 - No, there is not logical order you need to put the directive in. Inno Setup has it's own order of precedence.
 
3 - That code is only for user selection to add those things. The lines that responds to those directives are the ones that have the taskname on the line if the user selected these things to happen. I can't tell you what you need, I have no idea of what your application does or if it uses databases.
 
4 - No, you should not deploy those files under any circumstances. Again, I have no idea of what your app does or when you got the message. Did you get the error message during installation or when your app ran? two entirely different scenarios...
 
I also have no idea of what your script looks like. It's like asking me what you have in your pants pockets... Without information from you i would be just guessing...

mustafa_kol

Hello;
 
I have a few questions that I would like to have clear answers to even if they might be stupid!
 
1. When we put any file to user computer, are we replacing that file if the user computer already has it in their sys32 directory?
 
If it is, why replace? Why not just check, if it does not exist then install using :
..DestDir: {sys}; Flags: regserver onlyifdoesntexist sharedfile ;  
do this for any file -safe or unsafe - since someday we are going to uninstall the software;  
We would not destroy the user computer! What is wrong with this thinking?
 
2.Is there a special order for the following:
 
AppName=MyApp
AppVerName=MyApp
AppVersion=1.0.92
DefaultDirName={pf}\MyApp
AppCopyright=Copyright 2000-2008  
DefaultGroupName=MyApp
VersionInfoVersion=1.0.92
OutputDir=D:\MyApp\Innooutput
OutputBaseFilename=MyApp
Compression=lzma
SolidCompression=yes
;Installer related
AppPublisher=XXX Engineers,Inc.
AppPublisherURL=http://www.XXX.com
AppSupportURL=http://www.XXX.com
AppUpdatesURL=http://www.XXX.com
LicenseFile=D:\MyApp\Documentation\XXX.lic
InfoBeforeFile=D:\MyApp\Documentation\XXXDLicense.txt
InfoAfterFile=D:\MyApp\Documentation\ReadMe.txt
Uninstallable=true
AllowRootDirectory=yes
UninstallDisplayIcon=MyApp.exe
LanguageDetectionMethod =locale
showlanguagedialog =yes
Password=testuser
MinVersion=4.1,5.01
AllowNoIcons=no
PrivilegesRequired=Admin
WizardImageFile=D:\MyApp\Library\XXX3.bmp
WizardSmallImageFile=D:\MyApp\Library\XXX.bmp
 
For some reason, during the installation I get LicenseFile insted getting the InfoBeforeFile.  
 
3.  
[Tasks]
Name: AutoOSUpdater; Description: Install Support for Database Operations; GroupDescription: Install Database Support:
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
 
I do not get desktopicon nor quicklaunchicon placed, what is wrong with the above coding ?
 
Do I need vb_dcom_mdac_jet_autosetup.exe ,I checked Auto Update,in Innoscript? Do I need this?
4.I am using msword.olb and excel.exe in my application don't you think I should not deploy these files whether the user has them or not in their computer? Is it legal if the user doesn't have it?  
 
4. My script file worked in XP HomeEdition computer but failed XPPRO computer given Out of Memory  error msg.??, Why did I get this msg.? Again,I am not sure how good my script file is.