Problems with Script I don't understand

Started by Randem, November 26, 2008, 07:43:44 AM

Previous topic - Next topic

Randem

It doesn't ask for anything... You have to put it in in the IDE under Project->Project Properties->Make then look under Version Information and you will find all the entries. This is also explained in the documentation.
 
AppName, AppVersion and AppPublisher are not included on the screen but are added to the script and are taken from the VBP project file from the following areas:   Project->Project Properties->Make
 
AppName = Product Name   Major Version Number
AppVersion = Product Name   Major   Minor   Revision  
AppPublisher = Company Name

pepsisc

I forgot to attach the following to the previous message:
.iss
Sports Release.iss (11.1 k)
Project File
Sports.pjt (3.1 k)

pepsisc

randem:
 
Thank you for your patience. If you explained it earlier to me, I'm sorry I either missed it or I did not understand.
 
When I look at the Parameter List DefaultDirName, it says: {pf} selfUltimate_Sports_Pool 2. Can you explain or tell where the parts of the DefaultDirName come from. I understand pf means Program files. I don't know where the directory self or the directory  Ultimate_Sports_Pool 2 names are coming from. I thought you mentioned they come from the Project (vbp). There is VersionCompanyName= self but I believe this was part of the VB registration process. When it ask for Company Name, I put in the word self. The MajorVer=2, should the 2 be part of the directory name in Program Files?  
 
Thanks,
Sam
 
(Message edited by pepsisc on November 28, 2008)

Randem

I already gave you the answer to that question...
 
If you don't want the 2, just go to the parameter screen and remove it.

pepsisc

Randen:
 
I don't want to bug you but it's coming up to a weekend and I promised a BETA tester I would get my app to her this weekend.
 
Can you please take a look at my previous post. I am still getting a 2 when the directory is created within Program Files.
 
Thank you

pepsisc

https://randemsystems.com/cgi-bin/discus/show.cgi?tpc=12&post=3203#POST3203
 
But why does it use the 2 in creating the Program File Directory? In other words, after the Install, the Program File Directory is Ultimate_Sports_Pool 2. I want it to be Ultimate_Sports_Pool

Randem

I am still getting the sections [InstallDelete] and [Code] and all there subentries in RED.[/b]
 
Actually that color is NOT red, but you can change those colors to be anything that appeals to you.
 
In the output file produced my InnoScript, I am still getting in RED this line:
Source: d:\Data\2008Football\CRXI_RDC_Redistribution.msi; DestDir: {tmp
; Flags: nocompression ignoreversion deleteafterinstall }
 
This should be missing. You have added this file in the Templates Tab
 
D:\Data\2008Football\CR XI RDC Redistribution.tpl
 
Remove this template and all should be fine.

Randem

The 2 is the Major Version number of your project.

pepsisc

Forget what I said below about the 2. I just recreated the .pjt and .iss files and re-installed application. The program file that was created is: Ultimate_Sports_Pool 2.
 
I can't find where that 2 is coming from.

pepsisc

No. What I did is to start over from scratch recreating the .iss and .pjt files.
 
This is the line the confused me.
DefaultDirName={pf}\Ultimate_Sports_Pool 2  
I finally realized that the 2 is not part of the Program file directory name. It must be a code used in the software.
 
In the output file produced my InnoScript, I am still getting in RED this line:  
Source: d:\Data\2008Football\CRXI_RDC_Redistribution.msi; DestDir: {tmp}; Flags: nocompression ignoreversion deleteafterinstall
 
I see where it is described above. When I do the InnoSetup Build, it doesn't seem to be causing a problem.
 
I am still getting the sections [InstallDelete] and [Code] and all there subentries in RED.
 
I am attaching the files for your viewing.
iss file
Sports Release.iss (11.3 k)
Project file
Sports.pjt (3.2 k)
}
 
(Message edited by pepsisc on November 26, 2008)

Randem

Did you open the project and change the information in the project properties menu selection?


pepsisc

I can not find the reason for the Program File Directory name appearing as Ultimate_Sports_Pool 2
 
I have checked the VBP file. It is enclosed for your help.
iss file
Sports Release.iss (11.3 k)
Project file
Sports.pjt (3.2 k)

Randem

1 - remove that line from add folders. you did not need to add it it was automatically added. Check the script.
 
2 - Check your VBP file properties for application name.
 
3 - You included the template twice. CrystalReports.tpl and Release.tpl.

pepsisc

I am sorry but I am having some problems. Attached is the iss and project file.
 
 
Problem 1:
Note: This file is in red: Source: d:\Data\2008Football\CRXI_RDC_Redistribution.msi; DestDir: {tmp}; Flags: nocompression ignoreversion deleteafterinstall
 
The file was added via the Add Files folder.
Problem 2:
When I set up the new Project, I specify Default Folder = Ultimate Sports Pool.
 
The out put is generating Ultimate_Sports_Pool 2. I don't know where the 2 is coming from.
 
Problem 3:
When I compile, I am getting an error message Duplicate Identifier on: function GetCLSIDFldr(Param: String): String;
 
Thanks,
Sam
Project file
Sports.pjt (3.6 k)