• Post Reply Bookmark Topic Watch Topic
  • New Topic

SQLite not working after making setup / windows installer  RSS feed

 
sam onikosi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I made a .jar from my clock application i added the database to "dist" and everything works out just fine.
but when i try to make windows installer (using Excelsior JET and install creator) the database does not update.

Thanks for your help

 
Stefan Evans
Bartender
Posts: 1837
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, we're gonna need more information from you to be of any help whatsoever. Please TellTheDetails.

What database are you working with? What version?
What did you mean by "adding the database to dist" ?
What differences are there in the output between your manual version and the windows installer?
Is there any output in error logs that can give you a hint as to what went wrong?


 
sam onikosi
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Thanks Stefan,

What database are you working with? What version?
sqlite

What did you mean by "adding the database to dist" ?
dist is the folder that contains .jar (after clean and build), i copied and pasted the database into it and everything was fine

What differences are there in the output between your manual version and the windows installer?
Let me explain what the application does,
it's a clock that has logo as a background, user have chance to change the logo from the list of the logo.
i added all the logos to the database therefore when the logo is chosen from the list of all the logo, and user clicks ok there is a column called "logo status", the column of the particular logo will change to "1" from "0" and the "logo status" of the rest of the logos will be change to "0". later when the user closes the application and reopen it, the saved logo will be displayed.

this works very well even when i run the .jar file but when i make the install it's does not, the last logo before making the installer is what displays.

hope i am making sense.

Is there any output in error logs that can give you a hint as to what went wrong?
No, no log error.


BELOW IS MY CODE:



Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!