Howto Debug Setup error?
Posted: Thu Mar 05, 2015 9:46 am
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
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