udonmez
Posts: 16
Joined: Thu Feb 14, 2013 12:06 pm
Location: Ankara

Unable to delete Repository Dialog

Hi,
I could not able to delete a dialog in repository. "Dialog CoreGISAddressDlg is used by the current project and cannot be romoved".
That is true I have made a search and there is only one result as shown below but I can not find in the table editor;
1.jpg
1.jpg (27.63 KiB) Viewed 5859 times
I have opened the *.aip file with notepad and I have found it in here;
<COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
<ROW Fragment="CommonUI.aip" Path="<AI_FRAGS>CommonUI.aip"/>
<ROW Fragment="CoreGISAddressDlg.aip" Path="<AI_REPOSITORY>Dialogs\CoreGISAddressDlg\CoreGISAddressDlg.aip"/>

I have deleted bolded line and saved it with notepad. Then, I opened the project with advancedinstaller again without any error.But, Unfortunatley, I could not able to save the project again. The prompted error is:

[SEH_AV_READ_BADPTR] ACCESS_VIOLATION (0xc0000005) at address [0x0025719c]

Advanced Installer 10.0 build 50412
*** Stack Trace (x86) ***

[0x0025719c] -----
2.jpg
2.jpg (52.67 KiB) Viewed 5859 times
How can I delete the dialog in repository?

Thanks,
Regards,
Unsal
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Unable to delete Repository Dialog

Hi
udonmez wrote:I could not able to delete a dialog in repository. "Dialog CoreGISAddressDlg is used by the current project and cannot be romoved".
That is true I have made a search and there is only one result as shown below but I can not find in the table editor;

I have opened the *.aip file with notepad and I have found it in here;
<COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
<ROW Fragment="CommonUI.aip" Path="<AI_FRAGS>CommonUI.aip"/>
<ROW Fragment="CoreGISAddressDlg.aip" Path="<AI_REPOSITORY>Dialogs\CoreGISAddressDlg\CoreGISAddressDlg.aip"/>

I have deleted bolded line and saved it with notepad. Then, I opened the project with advancedinstaller again without any error.
It is not recommended to edit the .AIP (project file) like a text, otherwise you could run into a problem like this one. Most probably the cause is that there are other references to CoreGISAddressDlg and your project database became inconsistent.
udonmez wrote:How can I delete the dialog in repository?
Usually all your custom dialogs can be deleted once all references are cleared. Can you please send your project file to support at advancedinstaller dot com so we can investigate?

Best regards
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Unable to delete Repository Dialog

Hi

We've anazylized the project file we received from you. As we suspected, the reason for not being able to delete the CoreGISAddressDlg dialog was that other resources contain references to one or more elements from your custom dialog.

More specifically, two dialogs used a text style from CoreGISAddressDlg:
  • MaintenanceTypeDlg, Repair radio button
  • RepairConfiguration1, Core GIS Address: text box
You can fix the Text Style on these two items from Advanced Installer from "Normal_A68648CF_4C72_46D6_888D_027D5BCA96E1" to "Normal". Afterwards, you should be able to cleanly remove CoreGISAddressDlg from the Dialogs Repository.

If you have other questions, please let us know.

Best regards
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
udonmez
Posts: 16
Joined: Thu Feb 14, 2013 12:06 pm
Location: Ankara

Re: Unable to delete Repository Dialog

Hi,
I can not able to delete it yet. It has given the same error shown as below;
Untitled.jpg
Untitled.jpg (20.98 KiB) Viewed 5836 times
Why do not give detail information in the message box.
What will we do?
Regards,
Unsal
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Unable to delete Repository Dialog

Hi

For reference, we received two .AIP project files with different issues:
  • AirC2ISInstaller
  • SysManInstaller
On the first project AirC2ISInstaller we've noticed that on a specific sequence of actions (ie. first delete the dialog, later change the Text Style as instructed in the previous post), some references had to be removed manually from Text Styles tab on Themes page.

On the second project SysManInstaller, the reason for not being able to remove the dialog from repository was that the CFG_LDAPNAME property was referenced by other entities outside the dialog.

If you have other questions, please let us know.
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”