Skip to main content
Inspiring
October 20, 2016
Question

Plugin changes preferences version

  • October 20, 2016
  • 3 replies
  • 1090 views

When my plugin is loaded, indesign gives this alert at startup.
InDesign preferences were created with a different version of Adobe indesign.
Preferences will be reset to their default values.
what kind of operation could give this error.

This topic has been closed for replies.

3 replies

Community Expert
December 2, 2016

This mainly happens if you have two version of the same InDesign(minor version updates) installed on your machine and then open a lower version of InDesign after the opening the higher version. So lets say you have InDesign CC2015 and InDesign CC2015.4 version installed on your machine, if your plugin loads on CC2015.4 it will write the persistent data but when you launch CC2015 it will try to read the same preference data that has been written by a later version of InDesign and hence this assert pops up.

As pointed by Vinoth, if you install the Debug version of InDesign for the lower version, it will give you more info. Something along the lines that conversion was not written for data in your plugin from the higher version to lower version.

Hope this helps.

-Manan

-Manan
jochens5907408
Known Participant
February 25, 2017

Hi Mana,

we have generally the startup service running.

Through that service we create our own addititional menu.

Through one of its sub items the XML-production-Order parsing may be started.

From the parser we create a new document according the parsed production order with the SDKLayoutHelper..

Additionel we handle the ActionID's, fired when clicking the Save-, SaveAs-, SaveACopy- and SaveAVersion.Meniitem of the Main:&File menu.

From the Handler of the SaveActionID we use again the SDKLayoutHelpen to save the document to the respective order case.

But!!!! unfortunately  the VM we used to implement our project, crashed some days ago.

Afterwards we were forced to setup new develepment environmets.

So we've created two environments on different systems in different VM's.

And here we ew face error on both envionments.

At first one the SDK-Variables like PluginVersion or ClassDescriptionTable cannot be found by the build process.

At other environment the Linker and the compiling of our fr-File are trying to include 'CWSettings.h'.

On my oppinion there is missing a global header, definning the tag WINDOWS and may be etablishing the connection to the SDK-Objects.

May you give us a tip, where to look at, to solve these failures.

Kind regards

Jochen Seliger

vinothr
Inspiring
November 8, 2016

Are you using InDesign debug version alongside?

When an application writes to preferences, it also stores the application version.

Possibly, the preferences were written out with different InDesign version than the one that reads.

ddarz4uAuthor
Inspiring
November 9, 2016

vinothr

Only the release version is used.

this only happens when my plugin is there. when I remove the plugin, this issue does not replicate.

vinothr
Inspiring
November 10, 2016

Please check your PluginVersion resource in fr file to ensure there is no discrepancy.

Also, which sdk are you using and which ID version you are running?

I would also suggest you to run InDesign debug version to check if it complains anything.

ddarz4uAuthor
Inspiring
October 27, 2016

vinothr​​, any idea?