Thanks for helping, the problem got solved!
Before the user reaches the ‘Select Destination Location’ the {app} variable is not set.
My DeInitialize-Procedure looked like this:
procedure DeinitializeSetup();
var
SettingsPath: String;
begin
SettingsPath := ExpandConstant('{app}')
DelTree(SettingsPath + 'bin', True, True, True);
end;
What I did is I created a Boolean variable at the beginning:
[Code]
var appIsSet: Boolean;
I set it to false at initializing:
function InitializeSetup(): Boolean;
begin
// interesting code
appIsSet := False;
end;
… and set it to ‘true’ after the user has reached ‘wpSelectDir’ in nextButtonClick (see code snippet below:)
begin
if CurPageID = wpSelectDir then
begin
appIsSet := True;
The last step is to check in the Deinitialize-Procedure if the boolean variable is set. If so, he can access on it, if not — do nothing:
procedure DeinitializeSetup();
var
SettingsPath: String;
begin
if appIsSet then begin
SettingsPath := ExpandConstant('{app}')
DelTree(SettingsPath + 'bin', True, True, True);
end;
end;
|
1st November 2009, 04:06 AM |
|
Hi NexusDB_V3.02_DCU_Only_for_Delphi_2006.exe Fails with Internal error: An attempt was made to expand the «app» constant before — |
|
1st November 2009, 10:18 AM |
|||
|
|||
|
> Internal error: An attempt was made to expand the «app» constant Strange, I can’t reproduce here; perhaps its a dud download? — |
|
1st November 2009, 07:51 PM |
|
Eivind Bakkestuen [NDD] wrote: Hi Eivind Do you really think so? NexusDB_3.0101_(DCU_Only)_for_D2006.zip 6,602 KB Compressed I use 7-zip to extract the exe from the zip and it worked for To me it seems that the only reason for zipping is attaching a password NexusDB_V3.02_DCU_Only_for_Delphi_2006.exe 6,837 KB Application — |
|
3rd November 2009, 01:02 AM |
|
dan wrote: Hi Eivind I have now downloaded it at least 10 times. Also NexusDB_3.0101_(DCU_Only)_for_D2006.zip worked fine on the XP The irony is that you need some manual tricks to make BDS2006 register — |
|
3rd November 2009, 09:44 AM |
|||
|
|||
|
> On XP SP3 on both a desktop AMD3200+ and an HP Laptop Intel T7400 I That is indeed strange. Is there anything common to the machines, eg, — |
|
3rd November 2009, 02:36 PM |
|||
|
|||
|
> On XP SP3 on both a desktop AMD3200+ and an HP Laptop Intel T7400 I Is there a chance, that on the above machines, you have not yet The installer expects certain things to be present in the windows — |
|
4th November 2009, 11:31 PM |
|
Eivind Bakkestuen [NDD] wrote: A) To get over this impasse: B) In Answer to your question: Home Desktop 1: AMD 3200 +2GB RAMXP SP3 : Home Desktop 2: AMD 6600 +4GB RAM Vista Business SP2: Thx — |
|
5th November 2009, 08:21 AM |
|||
|
|||
|
> If I have NexusDB_V3.02_DCU_Only_for_Delphi_2006 installed somewhere Yes, that should work. — |
|
6th November 2009, 04:09 PM |
|
Clean winXP install on a new laptop, updated with current XP patches, Only other software installed is OpenOffice 3.1, Firefox 3.5.4, CBuilder So far the 2010 DCU has failed on 2 out of 3 systems for me. Any update as to getting the DCU edition to work properly with the Eivind Bakkestuen [NDD] wrote:
|
|
6th November 2009, 09:45 PM |
|||
|
|||
|
> Any update as to getting the DCU edition to work properly with the Can you please email to support at nexusdb dot com, include your — |

CD runtime error — Windows ME — EarMaster Community
CD runtime error — Windows ME
Moderator: Quentin
-
Guest
CD runtime error — Windows ME
Hi, I have puchased earmaster 5 pro from a music shop on CD. When installing, I have the runtime error at 8:836… Internal error: An attempt was made to expand the app constant before it was initialized.
I note that Gus has posted this problem before but as I have not purchased through download, I don’t know what to do. I am running Windows ME
Regards
Paul Smith
-
Hans
- EarMaster.com
- Posts: 278
- Joined: May 24, 2005 12:54 am
- Location: Denmark
Post
by Hans » Jun 09, 2005 1:55 am
Unfortunately this Windows 98/ME problem was also on the first CD’s we shipped. Please send an email with your serial number and mailing address to Sales (find the email address here: http://www.earmaster.com/about_us.htm), then we will ship a replacement CD for you.
To begin using EarMaster now, just download the installation program from this website.
Best regards,
Hans Jakobsen
EarMaster
-
Guest
Re: CD runtime error — Windows ME
Post
by Guest » Apr 01, 2006 12:46 pm
Anonymous wrote:Hi, I have puchased earmaster 5 pro from a music shop on CD. When installing, I have the runtime error at 8:836… Internal error: An attempt was made to expand the app constant before it was initialized.
I note that Gus has posted this problem before but as I have not purchased thrgh download, I don’t know what to do. I am running Windows MERegards
Paul Smith
-
Hans
- EarMaster.com
- Posts: 278
- Joined: May 24, 2005 12:54 am
- Location: Denmark
Post
by Hans » Apr 02, 2006 11:36 pm
We will replace the CD no matter if you have purchased EarMaster online or through a store. Please send an email with your serial number and mailing address to Sales (find the email address here: http://www.earmaster.com/about_us.htm), then we will ship a replacement CD for you.
Best regards,
Hans Jakobsen
EarMaster
