how to Install a DNN module with code instead of the interface? - dotnetnuke

I am developing a modue for a DNN website and i would like to make a little tool that is able to perform the installation process without having to go trough the CMS and install it with the extension installer.
This would probably be a lot faster. For this i need to know all the steps the installation follows and convert this to code. However Google does not seem to help me out here so far.
Does anyone have any information or code regarding this?

Read this and the referenced links:
http://mitchelsellers.com/blogs/2009/10/14/dotnetnuke-bulk-extension-installation.aspx

Related

How to install NancyFx on Ubuntu

I'm trying to learn how to use NancyFx with Mono in Ubuntu.
I've successfully built Nancy using the MonoRelease target in MonoDevelop (opening the solution in the IDE, selecting the MonoRelease build target, running Build).
I've created a new MonoDevelop solution in a separate directory called NancyTest. When I go add the references to the project it can't find them anywhere.
Any ideas?
Here is a better answer then the super vague one already given. You can use Nuget to install the the items you need and then add them as references.
https://github.com/NancyFx/Nancy/wiki/Hosting-Nancy-with-Nginx-on-Ubuntu
The URL is a very nice example of how to get started with your first webpage. the nginx settings don't look super specialized, so you can probably use Apache if you wish. Since the items are written with mono and Nancy you can get away with using Jenkins CI, which is what turned me on to Nancy and mono, so I wouldn't have to install another server. Sorry this post is over a year old, but I came across it while looking for answers, and felt the answer currently given was poor and needed a better example for future users in the same search as me. So to answer your question, I'd bypass the build from source and just install using Nuget/powershell.

How can I determine an application's software prerequisites?

I'm developing a small WinForms program for home use - I have no intentions to releasing it anywhere.
Running it on my development machine, where I have Visual Studio and .NET and whatever else installed, works but deploying it on my PC, where I might not have all those frameworks, doesn't. I'm using some library written in C++ so I'm assuming I'm going to need some version of Visual C++ Redistributable, but I'm not sure which? And I'm not sure if that would be all. So, how can I determine an application's software prerequisites?
I used Dependency Walker and I got a message IEHIMS.DLL - Error opening file. The system cannot find the file specified (2), but that's all I could make out; there is so much information I'm having trouble make sense of it all. Besides, according to a quick google, IESHIMS.DLL has something to do with Internet Explorer, so it shouldn't really matter.
Thanks in advance to anyone taking to the time to consider my question.
Kind regards
For framework you can set the prerequisites for your application by going to project properties -> Publish -> Prerequisites. So now, if the required framework is not installed on the deployment machine, the setup will prompt for an install.
Now, for other dlls you are using, copy those dlls to your bin folder of the project and add the files while creating setup. This will solve the problem.

Winforms Application Setup Creation in VS2010

I know that this is a very stupid question, but I have not been able to find a definitive Guide to creating a basic Installer for my windows forms application. I know we have to use Setup and Deployment Projects in VS2010 but have not been able to find any step by step guide for it.
If possible please guide me regarding the same.
Thanks
Many Winforms projects don't require an installer. Just copy the files in the Release folder, formally named "XCopy deployment". The walkthrough for a Setup and Deployment project is here.
I'm currently learning how to do setup projects as well.. I found a couple of sites that helped me to get off the ground and have a basic installer. I know the first link is from way back in 2005, but it still helped.
http://www.simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/
http://www.eggheadcafe.com/tutorials/aspnet/dcc5ab62-b875-4852-9e34-8bc2794e4fb8/c--create-setup-project.aspx

weblogic11g setup

anyone knows the steps to follow when installing and setting and creating domain in weblogic11g?
I have to deploy grails application.
Thanks in advance
There is a config wizard that comes with the installation. It is a GUI or a text based program that is easy to use. Look for config.exe or config.sh in wlserver/common/bin

How to run executable at end of Setup Project?

I have a Visual Studio Setup Project that I use to install a fairly simple WinForms application. At the end of the install I have a custom user interface page that shows a single check box which asks the user if they want to run the application. I've seen other installers do this quite often. But I cannot find a way to get the Setup Project to run an executable after the install finishes. An ideas?
NOTE: You cannot use Custom Actions because these are used as part of the install process, I want to run my installed application once the user presses the 'Close' button at the end of the install.
I believe this is one of the real limitations of the Visual Studio installation project. You need to be able to modify the last page of the installation UI but VS.NET does not give you a way to do this. You could modify the tables in the .MSI after it has been built but VS.NET would probably overwrite these changes each time it is built. You may be able to override the last page using a merge module that you include in the installation project. Either way you will need to become familiar with how the UI dialogs are authored in an .MSI and this is not trivial.
You may want to consider switching to a free script based installer or buy a commercial setup authoring application (just don't buy InstallShield for the love of Pete). Take a look at InstallAware (although I have not used it).
I've just found a very easy way which does not require external tools. You only have to add a class file to the main project and a custom action to the setup project.
http://www.codeproject.com/KB/install/Installation.aspx
You also can use custom actions
I've done this for internal apps by creating a VB Script harness that launches the setup executable, waits for it to close, and then launches the second program.
You could also accomplish this with a little more polish using a few Win API calls in a C executable.
You can use MSILAUNCH (though I've only got it to work with MSICREATE).
http://www.cornerhouse.ca/en/msi.html
I managed it by doing invoking the Main method the assembly using the following line:
(typeof(ClassWithinAssemblyToExecute)).Assembly.EntryPoint.Invoke(null, new Object[] {} )
you can do it by custom installer. just add installer class and there u will see many event like after install, before install. just hook up after install and from there run ur exe by process class. i would suggest u google to find more about custom installer.
here is one good link that might help u http://www.codeproject.com/Articles/19560/Launching-Your-Application-After-Install-using-Vis
thanks

Resources