Failed Version 11 Build 13 Upgrade

Started by Randem, October 22, 2011, 04:21:03 AM

Previous topic - Next topic

Randem

Yes, but you did not send it to me originally so I would not have had it to create the script...

Tom Buggy

The template was part of InnoScript (in the Templates section).

Randem

I see now, you had the lines in the template file of which I did not have when I created the script. This is exactly why you should have only one way of creating the script. It would avoid errors like this...

Tom Buggy

The template file is attached.  Based on your question about the missing statement I took a look at the app code.  At some point in development I was using AppDataPath for data and the [INI] and [Code] items were related to that (GHM.INI was opened in the process and the related script content was generated by InnoScript).  I later decided to put the data in the same folder as the app and commented out the code for GHM.INI.  So, I don't need the missing line and will remove it from the script.

Randem

Could you post the template that caused problems. If used in InnoScript it would not have been in the script. Part of the problem with manually using copy/paste is that you may not remember where lines came from. Using InnoScript to complete the script would leave no doubt...
 
So how did the missing line get into the script in the first place???
 
As for the JetComp.exe file you can either not deploy it or deploy the updated file...

Tom Buggy

Voila!  With many, many thanks to you I completed the script, compiled it successfully and did the install on Windows XP and Windows 7 computers.  The app runs well on both computers.
 
The only questionable thing that happened during the install was that I got a message saying that the JetComp file on the computer was newer; I left the newer file.
 
This has been a complex process (at least for me).  I can't help but think that many of the problems I experienced were due to incompatibilities between Releases 10 and 11 when using a project developed under Release 10.  I don't have a Release 11 project but I now have an Inno Setup script that's usable for the foreseeable future.
 
I never would have resolved things without your assistance.  You provide the most complete and timely support that I've experienced.  If you ever need an endorsement I will gladly provide it.
 
To answer your question about manual copy/paste, one reason is that the   and - prefixes I used in a template were carried forth to Inno Setup and caused compile problems.  Also, my previous script had the following statement in the [INI] section that wasn't being generated:  
 
Filename: {app}GHM.ini; Section: System; Key: Commonappdata; String: {Code:GetCommonAppDataFolder}
 
There's also a related [Code] section in the script.

Randem

The same page you got the Automatic OS Updater...
 
https://randemsystems.com/os-updater-support
 
Scroll to the bottom of the page under Separate Installation Files
 
BTW: Why do you manually copy/paste when InnoScript automatically puts the lines in with the proper flags???

Tom Buggy

Thanks.  I've modified the script file to provide the location of most of the files related to the app itself.  However, when I compile the script I see that I dont't have the following files on my computer: mdac_typ281.exe, mdac_typ20.exe, Jet35sp3.exe, Jet40SP8_WXP.exe and JetComp.exe.  Where do I get those?


Tom Buggy

I'm not sure what all this means and where to go from here.  Could you send me your project and script files.

Randem

I generated the script and all is fine. the big difference from my script and your script is the parts you edited out, the missing files that I do not have and the database files. If you removed the Auto OS Updater the way I informed you you should have the exact file references that I have. Of course you would need to download the files so that they would be found but it works as advertized.

Randem

OK, I will look into the script creation issue. The as you say gibberish in the screen is Unicode. You must select Force .iss Output as ANSI in the Others tab of the Setup Option screen. You may have issues like this if you convert over a project from another version.It has been documented that you should check each screen to make sure all the correct settings are used. The default is ANSI for a new project.

Tom Buggy

FYI, out of testing curiosity I used the PDW-generated setup to install the app on a Windows 7 Home computer.  I got a series of file not newer messages (I kept the newer files) and a failure to register one file.  However, the app ran without problem.

Tom Buggy

Yes, I downloaded the VB_VC......AutoSetup file to a folder named MDAC and added the file via Add Files in InnoScript.  Auto OS Updaters is set to NONE.
 
Attached are the files you requested and a .BMP file that's a screen shot of what I saw when I opened the project this morning.  

Randem

If the file is not in your MDAC folder it will not be found... No mystery there. Did you download it?
 
Zip and post your vbp and exe files.
 
Also go to the Versioning area in the Project Options selection. Choose the Other Tab and select Automatic OS Updaters the select NONE then re-run.