Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Best way to copy Bootstrap

 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
William Shaw



Joined: 08 Oct 2009
Posts: 19
Location: Canada

PostPosted: Fri Dec 16, 2011 10:56 pm    Post subject: Best way to copy Bootstrap Reply with quote

After working through the sample provided I moved on to implementing one of my own sample apps and found that I couldn't find an easy way to copy the sample Bootstrap for the new project. What would you recommend?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Dec 16, 2011 11:07 pm    Post subject: Reply with quote

Probably the simplest thing is to exit Visual Studio and then just copy the directory containing the boostrap project to your own location. Then you can open the bootstrap project and make the changes you need to.

This will include (as described in the help):

  • Changing the project strong name
  • Changing the Pre-build event to encrypt your own assembly
  • Removing the sample encrypted assembly and adding your own encrypted assembly(s) as embedded resources
  • Changing the Program.Main method to pass your assembly name to the ExecuteAssembly method
  • Changing the name of the output executable assembly (and version information) to your own name
  • Changing Splash Screen image

_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
William Shaw



Joined: 08 Oct 2009
Posts: 19
Location: Canada

PostPosted: Sat Dec 17, 2011 3:15 am    Post subject: Reply with quote

Thanks. I was hoping for something slicker, but that will work.
In the mean time I tried creating a new empty project and Adding existing files from the Bootstrap sample, but that led to lots of problems.
Back to top
View user's profile Send private message
Javier



Joined: 09 Oct 2009
Posts: 215

PostPosted: Sat Jun 15, 2013 4:21 pm    Post subject: Reply with quote

Quote:
•Changing the project strong name

•Changing the Pre-build event to encrypt your own assembly

•Removing the sample encrypted assembly and adding your own encrypted assembly(s) as embedded resources

•Changing the Program.Main method to pass your assembly name to the ExecuteAssembly method

•Changing the name of the output executable assembly (and version information) to your own name

•Changing Splash Screen image

Where exactly do you change the name of the output executable assembly to your own name? I assume that in the samples this output file is Bootstrap.exe. Please confirm.
At the end you will have only one output executable file which will be part of the installer, regardless of the number of assemblies in your application. What is the location of this output file?
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Jun 16, 2013 11:39 pm    Post subject: Reply with quote

Quote:
Where exactly do you change the name of the output executable assembly to your own name? I assume that in the samples this output file is Bootstrap.exe. Please confirm.


You change the output assembly name in the Project properties in the Application tab. The default assembly name for the sample is "Bootstrap"
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group