 |
|
 |
Sir, if i have to install .net framework and other Prequisites with setup on client then how can i do this.
Balram
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I've used IExpress.exe for creating the productname.exe installation file. everything works fine as expected. It installs the product correctly and product is working. But when I try to use change option from Add/Remove for the same product then it prompts an issue with message "The feature you are trying to use is on a network resource that is unavailable" ..... with a browse button to get the folder containing the product's .msi file. as client will not have this file due to productname.exe provided, End client can not proceed. Once user tried this step then product itself also gets corrupted and doesnt run and prompts the same window message.
I've checked the behavior of installation by using 'productname.exe' file. it extracts .exe and .msi files in temporary folder and installs the product and then deletes the extracted files. that is causing missing files. please can you help me to avoid this issue.
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |
|
 |
Has anyone tried using IExpress with the component intsaller sdk?
The installer SDK comes with the PSetup.exe file which has its own ini file. In that file, I tell the PSetup.exe to execute my MSI file as a post prereq install step. The PSetup file runs succesfully, but then the MSI file never runs. (My suspicion is that after the PSetup completes, the extracting exe erases the directory together with the MSI file that was located there.)
Anyone has any solution to this? I tried running a bat file instead of PSetup. In that bat file I would call PSetup which in turn would call MSI. I also tried in the bat file to call PSetup and then MSI package installation separately with no success. As soon as PSetup finishes the MSI never gets fired to run.
Let me know if any of you have any suggestions
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Thanks for the article. It taught me about IExpress which I did not know about.
I was just wondering. Any reason why you did not want to use the genuine ClickOnce deployment for your project?
Cheers Johan
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Johan,
My client wants to maintain only one single executable installer file (self extracting file) to keep all my project files and dotnet framework files.
An admin can store this only one 'Single Executable Installer file' in the software repository and he/she can use this file whenever he wants to install to the target machine. This technique does not give room to miss any important files to run the system.
when admin/user double click it, it extracts the files to the temporary directory, waits for the installation program to complete and deletes the temporary files.
I have given an idea in this article to simplify the standard installation but not the deployment features.
Happy Programming!!! All the best!!!
Ramkumar
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Perhaps you mean "click once" in the sense that your technique produces a single executable file ?
ClickOnce is a new technology package from MS embedded in Visual Studio 2005 that will publish an application to an internet site, to an ftp site, to a local file system, to a network share (intranet), or even to a cd rom. See :
http://blogs.msdn.com/clickonce/default.aspx
IExpress seems to be a tool for installing custom Internet Explorer versions. You seem to imply it can be used to install a .NET application ?
Please clarify. I really cannot make sense of your article.
thanks, Bill
"The greater the social and cultural distances between people, the more magical the light that can spring from their contact." Milan Kundera in Testaments Trahis
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Bill,
I have just meant that it is a single click silent installation of .net application. It is not at all related to the new feature 'ClickOnce' in VS 2005.
Yep. You are right. The IExpress is used to install the custom IE versions. But my article explains that this can be used to generate the single exe file out of multiple files. The purpose of generating single exe is very much useful for the system administrator to maintain it without missing any dependent files.
The output setup exe file is not at all dependent on IExpress components. You can just copy the "Single" setup exe in target machine and install it even the target machine does not have anything related to Iexpress.
I think i need to change the word 'clickonce' from my article. it may mislead the concept. Thanks for finding.
Hope i have answered your question.
Happy Programming!!! All the best!!!
Ramkumar
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear Ramkumar, (Namaste if you are from North India, Vannacum if you are from South India)
I think you could improve your article by clarifying a little more :
1. exactly what you mean by "silent mode" install.
2. instead of saying "single click application" use a more detailed description : I don't know if you are talking about something that produces a standard .exe file that the user launches by double-clicking on or not.
3. Describe exactly what is produced on the developer's machine, exactly what is deployed to a server or distributed to the end-user, and exactly what the end-user sees ... or doesn't see.
4. Since you are using IEAK technology in a "non-standard" way, please describe the pre-requisites for using it (if any). And please describe any side-effects on the client's machine or any odd things in the deployment process related to IEAK's rather specialized "normal" mode of use.
best wishes, Bill Woodruff
"The greater the social and cultural distances between people, the more magical the light that can spring from their contact." Milan Kundera in Testaments Trahis
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Dear Bill,
Vanakkam. Appriciated your interest.
Thanks for your idea. I am going to update the article with little more explanation.
Thanks again.
Ramkumar
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, nice posting...
And i am using vs2005, in setup & deployment project i have checked 'Create setup program to install prerequisite components'. So in my debug folder i will have setup.exe, myapplication.exe, dotnetfx(folder) and inside that folder dotnetfx.exe,instmsia.exe and WindowsInstaller-KB893803-v2-x86.exe.
So i have created exe from IExpress and i have added the above listed files. But there is no provision to add folders inside the IExpress exe. So i have added only the files available inside the folder 'dotnetfx' not the folder 'dotnetfx'.
But while installing the application, it is trying to install the dotnetfx.exe from the folder 'dotnetfx', since this folder is not there in the exe created from IExpress, it is not able to install the framework, and it stopped the installation.
So how we could handle the above situation in IExpress
Thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
I think the properties of the setup project may be wrong.
If you select the 'create setup program to install prerequisite...'. it must generates, only the .msi file (ur application) and setup.exe(framework package).
Tell me what option did u select for the property package files and what option did u select for 'specify the install locatiton for prerequisite' properties.
will reply back based on your answers.
-- modified at 14:54 Wednesday 30th August, 2006
Happy Programming!!! All the best!!!
Ramkumar
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
I think you might have been selected the option 'Download prerequisits from the same location as my application'. But in my case i have selected the first option which will install the framework from microsoft website.
Please make sure you wanna go with the same option.
please answer for the questions.
1. Is your client wants only one exe to install your application? 2. Is your client computer does not have internet connection?
if you say 'yes' for both, Then we need to do few workarounds to get it done.
step 1: compress the dotnetfx folder contents in a zip file (only 3 files).
step 2: Then create a batch file with the command 'unzip -o dotnetfx.zip -d dotnetfx. this command is used to extract(unzip) the files in the current directory.
So now your debug folder has myapplication.msi, setup.BAT, dotnetfx.ZIP and setup.exe
Now run the IExpress and select the batch file as setup command and select the setup.exe as post build command.
Please note that you must select the option 'plesae store files using long filenames inside package' option in the IExpress wizard.
Thatz it..run the genereated exe and it will do as you wanted.
but this trick depends on winzip command line command. you have to take the decision to use this. If you find any other solution...please update me.
Expecting your feedback.
Happy Programming!!! All the best!!!
Ramkumar
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi
Yes, you are correct, i have selected the option 'Download prerequisits from the same location as my application' only
Answers for your questions 1. Yes 2. No. They have internet connection. In fact they will download the application from internet only. But we do not want to download the framework also everytime since it is big in size and will take more time to download
The solution provided by you which is really good. But the problem is, it is not always guaranteed all the clients will have the WinZip utility. Also as i understood the unzip - command line option which is given by you, only available with winzip latest versions.
So i am looking for better solution. Even PKUNZIP is shareware... so anyother idea?
Thanks for your great effort
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
You guys probably figured this out months ago, but I ran across your post whilst searching for my own solution to this prob and thought I'd stop back and post my fix.
I made a .bat file named dotnet_inst_pack.bat that created the dotnetfx folder and moved the dependent files into it. I'm not a bat file expert but it's pretty easy and I just Google the code whenever I need to make one. The code I used was... ***************************************************** ::I don't know what this does @ECHO OFF
::I don't know what this does CLS
::Creates dotnetfx direcory MD dotnetfx ::moves the files into that directory MOVE /-Y dotnetfx.exe dotnetfx MOVE /-Y instmsia.exe dotnetfx MOVE /-Y WindowsInstaller-KB893803-v2-x86.exe dotnetfx
::deletes the bat file del dotnet_inst_pack.bat **************************************************** I used iexpress.exe to package all the files, including the dotnetfx stuff, which had to be packaged at the root (no folders, as you know). I set the .bat file to be the install file in iexpress then set the setup.exe of my program to run after the bat was done.
Viola!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi guyz,
I have done everything as explained by vasudevan and Deathcrud ,bt i am getting
"unable to locate application file"Myappliaction.msi" error while running the setup ,I have tried with saving those extracted files and i observed that both dotnetfx folder and myapplication.msi files are renamed to big alphabeticals insted of small(normal) names. could you please point me where i may be doing wrong? and also let me know is this setup runs on all windows platforms without installing any extra patches?
thanks
-- modified at 11:50 Monday 27th August, 2007
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
I have just found a solution for this issue. If you just select 'Store files using Long File Name inside Package' it will work smoothly
|
| Sign In·View Thread·PermaLink | 4.50/5 |
|
|
|
 |
|
 |
Am I missing something...
If you want to have "one file only" setup, use .msi. Windows knows how to handle this file type.
If you want to have no User Interface (UI) just use appropriate command line switches with msiexec.exe: msiexec /i Setup1.msi /qn
By using msiexec you can run the same .msi with: No UI Basic UI Reduced UI Full UI progress bar only
Also you can run it as an Administrative Install (from network with no UI and no user interaction).
|
| Sign In·View Thread·PermaLink | 1.00/5 |
|
|
|
 |
|
 |
Oleg,
you are right. But .net setup project generates two files like .msi and .exe files. This msi setup package will install only the application in the client machine if it has .net framework. The setup.exe is prerequiste for installing .net framework in the machine and run the .msi file to install the application.
As you said if i give msi file as setup package, i need to give a batch file to run the msi in silent mode? My client does not want to do that too. So it is again two files 
Thanks for your comments.
Ram.
Happy Programming!!! All the best!!!
Ramkumar
|
| Sign In·View Thread·PermaLink | 2.00/5 |
|
|
|
 |