Page 1 of 1

Howto Debug Setup error?

Posted: Thu Mar 05, 2015 9:46 am
by QooScho
Hello
I have rebuild an old IA Project.
On the PC where IA IDE is installed (Windows 7 64bit) the Setup runs fine without Errors.

If I run the same Setup (Webbuild) on an other PC with Win7 64bit the Setup breakes with a message "Error". Not more
With this error message I have no Chance to look for the Problem.
So I tried to build in some message boxes

The error occurs between Messagebox Insta1 and MessageBox: Insta2, but I cannot see something wrong here?
I also tried to comment the EditFile but same error.

How can I debug this error better?
What could the Problem that Setup runs fine on one PC and other not?

...
Install Files C:\Popup\Sources\lib\pring.dll to $PROGDIR$

MessageBox: Insta1, Complete Copy files $PROGDIR$


end
Comment: TO-DO: Insert any additional install commands here
[compiler if Variable BUILDMODE Equals PATCH]
Apply Patch (get result into variable SUCCESS)
[compiler else]
if Variable ADVERTISE Equals TRUE
Apply Advertised (get result into variable SUCCESS)
else
Apply Install (get result into variable SUCCESS)
end
[compiler end]
Set Variable PROGRESS to 100
if Variable REMOVE Equals FALSE
Get Component Popup Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
MessageBox: Insta2, Edit file qdso
EditFile $PROGDIR$\Default.xml, Replace "DEFAULTSERVERADDRESS" with "$SERVERNAME$"
EditFile $PROGDIR$\Default.xml, Replace "DEFAULTSERVERPORT" with "$SERVERPORT$"




end
end

end


best regards
Hans

Re: Howto Debug Setup error?

Posted: Thu Mar 05, 2015 2:16 pm
by FrancescoT
Dear QooScho,

Is your setup localised?

localized strings may cause problems if not exactly synchronized with the latest script code modifications.
You may try to re-generate all your localized strings and then re-import them back once again in your project.

Hope this helps you.

Regards