Adding a group or an application icon to PDM via script

Hi all,

I would like to add automatically an application icon or perhaps a new
group to PDM by means the installation procedure of a new program, and
not asking the user of doing it manually.

Is there a solution for this function ?

Best regards,
Enrico

\


| Enrico Bendinelli | Prisma Engineering srl |
| enricob@prisma-eng.it | Via Petrocchi 4 20127 MILANO ITALY |
| http://www.prisma-eng.it | Tel. +39 02 26113507 Fax. 26113597 |

Hey Enrico

Unfortunately there is a way to do it. You have to add them through the PDM
application. You could have a standard setup that you copy to the users
home directory but the sestup would still have to be created using the PDM
application.

Thanks,
Rodney

“Enrico Bendinelli” <enricob@prisma-eng.it> wrote in message
news:3DD77AFB.8070709@prisma-eng.it

Hi all,

I would like to add automatically an application icon or perhaps a new
group to PDM by means the installation procedure of a new program, and
not asking the user of doing it manually.

Is there a solution for this function ?

Best regards,
Enrico

\


| Enrico Bendinelli | Prisma Engineering srl |
| > enricob@prisma-eng.it > | Via Petrocchi 4 20127 MILANO ITALY |
| > http://www.prisma-eng.it > | Tel. +39 02 26113507 Fax. 26113597 |

OOPS - that line should read :

“Unfortunately there isn’t a way to do it”

Thanks,
Rodney

“Rodney Dowdall” <guisupport@qnx.com> wrote in message
news:asfr98$8ls$1@nntp.qnx.com

Hey Enrico

Unfortunately there is a way to do it. You have to add them through the
PDM
application. You could have a standard setup that you copy to the users
home directory but the sestup would still have to be created using the PDM
application.

Thanks,
Rodney

“Enrico Bendinelli” <> enricob@prisma-eng.it> > wrote in message
news:> 3DD77AFB.8070709@prisma-eng.it> …
Hi all,

I would like to add automatically an application icon or perhaps a new
group to PDM by means the installation procedure of a new program, and
not asking the user of doing it manually.

Is there a solution for this function ?

Best regards,
Enrico

\


| Enrico Bendinelli | Prisma Engineering srl |
| > enricob@prisma-eng.it > | Via Petrocchi 4 20127 MILANO ITALY |
| > http://www.prisma-eng.it > | Tel. +39 02 26113507 Fax. 26113597 |

Rodney Dowdall <rdowdall@qnx.com> wrote:

OOPS - that line should read :

“Unfortunately there isn’t a way to do it”

Sorry, but the PDM has to do it in some way,
so there is a way how to do it, only it is keeping undocumented.
Description of PDM configuration file would help here.

Andy

Thanks,
Rodney

“Rodney Dowdall” <> guisupport@qnx.com> > wrote in message
news:asfr98$8ls$> 1@nntp.qnx.com> …
Hey Enrico

Unfortunately there is a way to do it. You have to add them through the
PDM
application. You could have a standard setup that you copy to the users
home directory but the sestup would still have to be created using the PDM
application.

Thanks,
Rodney

“Enrico Bendinelli” <> enricob@prisma-eng.it> > wrote in message
news:> 3DD77AFB.8070709@prisma-eng.it> …
Hi all,

I would like to add automatically an application icon or perhaps a new
group to PDM by means the installation procedure of a new program, and
not asking the user of doing it manually.

Is there a solution for this function ?

Best regards,
Enrico

\


| Enrico Bendinelli | Prisma Engineering srl |
| > enricob@prisma-eng.it > | Via Petrocchi 4 20127 MILANO ITALY |
| > http://www.prisma-eng.it > | Tel. +39 02 26113507 Fax. 26113597 |

Hello Andy

I’m sorry. What I should have said was that there wasn’t an exposed API to
provide the support in to PDM that Enrico was looking for. Your right by
saying that because PDM does it can be done, but that doesn’t mean that it
is an easy task to do from a script. If you look in the .photon/pdm/
directory you will also see the .wgti files that have to be created when you
add new groups.

I will check to see if we can in fact publish the format of the pdm.cfg, and
groups.pdm files as well as how the .wgti files get generated. I do not
believe that we will exposed the format of the .wgti files. So in the end,
even knowing the format of the .pdm and .cfg files you still may not be
able to accomplish what you want to do.

Thanks,
Rodney

<andy@microstep-mis.com> wrote in message
news:asholm$uii$1@charon.microstep-mis.sk

Rodney Dowdall <> rdowdall@qnx.com> > wrote:
OOPS - that line should read :

“Unfortunately there isn’t a way to do it”

Sorry, but the PDM has to do it in some way,
so there is a way how to do it, only it is keeping undocumented.
Description of PDM configuration file would help here.

Andy

Thanks,
Rodney

“Rodney Dowdall” <> guisupport@qnx.com> > wrote in message
news:asfr98$8ls$> 1@nntp.qnx.com> …
Hey Enrico

Unfortunately there is a way to do it. You have to add them through
the
PDM
application. You could have a standard setup that you copy to the
users
home directory but the sestup would still have to be created using the
PDM
application.

Thanks,
Rodney

“Enrico Bendinelli” <> enricob@prisma-eng.it> > wrote in message
news:> 3DD77AFB.8070709@prisma-eng.it> …
Hi all,

I would like to add automatically an application icon or perhaps a
new
group to PDM by means the installation procedure of a new program,
and
not asking the user of doing it manually.

Is there a solution for this function ?

Best regards,
Enrico

\


| Enrico Bendinelli | Prisma Engineering srl |
| > enricob@prisma-eng.it > | Via Petrocchi 4 20127 MILANO ITALY |
| > http://www.prisma-eng.it > | Tel. +39 02 26113507 Fax. 26113597 |


\

Rodney Dowdall <rdowdall@qnx.com> wrote:

Hello Andy

I’m sorry. What I should have said was that there wasn’t an exposed API to
provide the support in to PDM that Enrico was looking for. Your right by
saying that because PDM does it can be done, but that doesn’t mean that it
is an easy task to do from a script. If you look in the .photon/pdm/
directory you will also see the .wgti files that have to be created when you
add new groups.

I will check to see if we can in fact publish the format of the pdm.cfg, and
groups.pdm files as well as how the .wgti files get generated. I do not
believe that we will exposed the format of the .wgti files. So in the end,
even knowing the format of the .pdm and .cfg files you still may not be
able to accomplish what you want to do.

Hallo Rodney,

Thank you for these details. I think this problem is interesting for
many developers, because of comfortable installation of more separated
products - I can put pdm files into each package, but one overwrites
the others.

Also this case is interesting in general: if QSSL wishes to keep some formats
secret - no problem, but then it should offer (though as additional products)
means for sufficient manipulation with them. It requires just appropriate
decomposition durign design process - in this case I hope that you have
libraries for handling all the mentioned formats - though some of the libraries
are secret - so to create alternative command line utility, which realizes the
same as the photon application in the configuration window, would be easy for
you. If PDM has the same configuration on QNX6, it would be even a progressive
job.

Andy

Thanks,
Rodney