christian

more info

just for info:

i can run the application by commandline wenn it was installed, there the images and links are working

just when i use the exe-file all link are not working!

Thanks
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

When running the application at commad line, you are starting it from the JAR, righ? That is the version you need to test, as AdvInst starts it.

Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
christian

all in jar

Hi,

first of all sorry that i have opened two post with the same topic.

Yes i´m starting it from the jar. and it works fine
But i´m not quite sure what you mean by this:
"That is the version you need to test, as AdvInst starts it."
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Hi Christian,

Please give me more details. How do you mean "link"? How are you loading those images? Are they in the same JAR? Is the JAR in the CLASSPATH? Etc.

By "That is the version you need to test, as AdvInst starts it." I mean that you must test your application packed in the JAR file and not as classes compiled and scattered in a directory.

Thanks,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
christian

thanks,

i made my app run with the images and the logfile. it was a mistake on ny side. i had no targetdir in the shortcuts. Sorry

But now i got another problem im using a db.mdb for my application. the installer copies the db to the file system, but it don,t tells the system where the db is copied to!

can you halp my out?

i imported my data source and defind a driver for it but the link in the system where the db is copied to doesn´t apper in the system settings?
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Glad you worked it out.

Please be a little more explicit about the .mdb issue: where do you expect it to appear and it doesn't?

Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
christian

hi

the db is copied in the same directory as the jar file. this works well.
and the db is registrated by the system in the "ODBC-DataSource-Administrator"

"sorry i just got the german version of windows :-("

there the db is listed and the driver also.

the problem is when i klick on the db an choose konfigure, the the second field over the choose, new, repair, compress buttons there must stand the link to where the db is copied to but this field is left empty !


i insert the dir by my self and everything worked fine, but i don´t know how to configure AI so that the installer makes it happen!

thanks for help
christian

i got it

the director has to be set in the attribut value fields for the Data Source.

now there is still one problem.

i have to edit the dir manuelly and if the user installs the prog in an other folder the value for the dir is no longer right.

now i think the solution could be that the db will be saved in an dir that has nothing to do with the programs directory which has been choosen.

how can i realise this?
(wich folder to choose in "Files and Folders")


thanks
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

You need to put in the Value of the attribute the ID of the folder.

Create it in the Files and Folders view, then save the project and open the AIP in a text editor.

Find the Directory component (<COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">) and identify your folder. The Directory="..." attribute will give you the ID.

Put [ID] in the Value field.

The next version (2.4) will have a better UI for this.
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”