When we finished our first dot net application we faced a situation to choose the installer after seeing many forums we came to know Innosetup was easy,free and best setup kit for the small application.... while working with Inno setup installer i faced two problems :
1.How to check whether dotnet is installed or not?
2.How to check for the previous installation/version of the installed application and uninstall it or prompt the user?
As i dont know the Pascal coding i searched for the code in the net bit by bit and tailored according to my needs............. now i have a script:
- which checks for dotnetframework in the system during installation and downloads if it is not there and installs before installing the app
- Checks the previous installation/version of installed application and uninstalls it before continuing with new setup
tuck the script in appropriate places with your script as necessary If you have any doubt you can contact through mail feedback [at] ceveni [dot] com
related article: Check whether the application is already running during installation
you might also look at the above link may be you might require it..
9 comments:
This post was very helpful - thanks.
Thanks, It was really happy seeing your comment that my post was useful to you :)
Very helpful code.. many thanks !
hey buddy thanx a lot for this post :)
how can I make setup.exe detect a new version of Setup.exe on server? I am using inno setup.
Hi
thax for your help
i use your script but i had the following error
Line 47:
coloumn 40:
unknown type 'pchr'
I installed Isdxl last version
blease i need your help
thanx
Well, came to this site through google.
Already thought WOW! HEY! That's it.
Then the big disappointment came.
The script is no "bat" or "exe", it's "iss"...
I delete this iss now again, cause i have really NO idea what to do with that, sorry...
Although your application might need a specific .NET Framework version.
I think, IMHO, in most cases a .NET Framework version greater then a
specific one will fit your requirement
Jayme Jeffman
CATT Ltd is the leading provider of DotNetNuke Solutions. Our DotNetNuke development core competencies include the planning, development, and implementation of DotNetNuke modules, portals, skins, and support. You can rely on CATT Ltd for professional DotNetNuke Development
Post a Comment