This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to add data to the setup file?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
โMar 24, 2011
06:27 PM
How to add data to the setup file?
I'm trying to create my first setup file for my WPF application so my questions might be very basic....
I tried to make several setup files with different settings but none of them had the data after installiation at my other pc. All the fields at the GUI which should fill with data is empty(for example comboboxes and datagrid)!!! So how should I add my database to my project so that setup file include all the datas in the database?
At VS2010, I added my database and I can see it under "Server Explorer". When I run it, everything works fine and all the data comes from database at my pc! To able to install it at the client side and work, should I:
1-Instead of adding the database like I wrote above, should I add the database as a "file" into the project?
2-Should I use serialization and serialize all the data in my tables at the database with binary serialization? {If I use this, then I need to change lots of things at the code and I really don't want to do this}
3-Does the client needs to installed SQL to their pc(Of course, I don't want client to install SQL)?
Maybe very basic but this is my first application....
Thanks
I tried to make several setup files with different settings but none of them had the data after installiation at my other pc. All the fields at the GUI which should fill with data is empty(for example comboboxes and datagrid)!!! So how should I add my database to my project so that setup file include all the datas in the database?
At VS2010, I added my database and I can see it under "Server Explorer". When I run it, everything works fine and all the data comes from database at my pc! To able to install it at the client side and work, should I:
1-Instead of adding the database like I wrote above, should I add the database as a "file" into the project?
2-Should I use serialization and serialize all the data in my tables at the database with binary serialization? {If I use this, then I need to change lots of things at the code and I really don't want to do this}
3-Does the client needs to installed SQL to their pc(Of course, I don't want client to install SQL)?
Maybe very basic but this is my first application....
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
โMar 26, 2011
04:14 AM
2 days passed and no answer ๐
What I'm doing now is :
Serializing to binary files all my tables and saving into different files (.dat extension). When client opens the application, I just deserialize and open these files.
Is it the right way to do because I'm worrying about the speed (serialize-deserialize thingy)?
What I'm doing now is :
Serializing to binary files all my tables and saving into different files (.dat extension). When client opens the application, I just deserialize and open these files.
Is it the right way to do because I'm worrying about the speed (serialize-deserialize thingy)?