 |
|

|
Hi i got the following error.Pls help.
Error 1 The install location for prerequisites has not been set to 'component vendor's web site' and the file 'DotNetFX35SP1\dotNetFX20\aspnet.msp' in item '.NET Framework 3.5 SP1' can not be located on disk. See Help for more information.
ok Thanks
Aneesh A.S
|
|
|
|

|
Nothing more than what's already in the MSDN!
|
|
|
|

|
I want my application setup to download prerequisites from my website.
I use this URL http://www.mywebsite.com/support/ where I put that folders DotNetFX and WindowsInstaller3_1.
The problem is that when I try to install my application it goes for prerequisites on Microsoft site not on my website.
Can you help me please?
Thanks!
|
|
|
|

|
in installation url supply http://www.mywebsite.com/support/[^]
and select option says download the prerequisites from following location
and in textbox give the same URL
|
|
|
|

|
Hi,
Please explain how to add framework in 3.5.
i tried but to my project y prerequiries button was in disabled mode.
|
|
|
|

|
where you trying to add that ??
which type of project ??
please elaborate more
Thanks
Sorry for too late reply
|
|
|
|

|
hi,
sorry
i finished that project, i made a small research and i got the necessary things.
Thanks for reply
|
|
|
|

|
Hi
i have installed software but when trying to uninstall it fron add/remove then it is not removing those folders in which i add some files manually..I want to delete thes folder also after uninstallation.how can i do it using package
thanx
|
|
|
|

|
hi
as you know how to create installation path entry to registry
we will utilize that here
or you can make one more entry for custom folder
than you need to create 2 script files that do work of creating folder and deleting folder
this is vbscript to create folder
strDirectory = readfromRegistry("HKEY_CURRENT_USER\Software\MIS\MEDIAPATH", "")
Dim objFSO, objFolder, strDirectory
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.CreateFolder(strDirectory)
function readFromRegistry (strRegistryKey, strDefault )
Dim WSHShell, value
On Error Resume Next
Set WSHShell = CreateObject("WScript.Shell")
value = WSHShell.RegRead( strRegistryKey )
if err.number <> 0 then
readFromRegistry= strDefault
else
readFromRegistry=value
end if
set WSHShell = nothing
end function
and following is the code to delete the folder
strFolderPath = readfromRegistry("HKEY_CURRENT_USER\Software\MIS\MEDIAPATH", "")
dim filesys, demofolder
set filesys = CreateObject ("Scripting.FileSystemObject")
set demofolder = filesys.GetFolder(strFolderPath)
demofolder.Delete
function readFromRegistry (strRegistryKey, strDefault )
Dim WSHShell, value
On Error Resume Next
Set WSHShell = CreateObject("WScript.Shell")
value = WSHShell.RegRead( strRegistryKey )
if err.number <> 0 then
readFromRegistry= strDefault
else
readFromRegistry=value
end if
set WSHShell = nothing
end function
now step 2
open custom action editor in setup project
than in rollback and uninstall add the script that delete the folder !!!
and in install add the script to create folder
you can add the script to copy files also !!
|
|
|
|

|
Hi
I am trying to build another package.
when i am adding .mpg file of 1.3gb in application folder. during compile time getting error
'Not enough storage is available to complete this operation..
one more thing
as you told me make folder and set default path for specific folder location on client machine.
thing is little change now.
in my 2nd package some folder created using custom folder and adding some file there.
I hv specified the defaultlocation for this folder content as you told
actually client machine folder path is depend on my first package installation
i hv puted hard code default location in 2nd package installer.
suppose during 1st package instaalation client installes it in d:\ using browse then
my 2nd installer can not copy the content of folder in d:folderspecified because hard code default location.
how i will set dynamic path location in 2nd package folder that match with 1st package installation location.
so what to do ??/
thanx
|
|
|
|

|
Hi
for 'Not enough storage is available to complete this operation..'
i can just suggest check your disk space
and make sure you have sufficient room to compile the project
for retrieving last package installation you need to create the registry in first package to write the installation path
you has to use [TARGETDIR] to set the value in registry key
and to retrieve that in second package do following
1.
Retrieve a Value from the Registry
The MediaPath value for your computer is located under the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
You can retrieve this value by using a launch condition. To do this, follow these steps:
1. In Visual Studio .NET, point to Editor on the View menu, and then click Launch Conditions.
2. In the Launch Conditions Editor, click Search Target Machine.
3. On the Action menu, click Add Registry Search.
By default, Search for RegistryEntry1 is added.
4. On the View menu, click Properties Window to select the Properties window for the registry search that you created in step 3.
5. Change the Name property value to Search for MediaPath.
6. Change the Property property value to MEDIA_PATH*.
When you run the setup project, the MediaPath registry value is retrieved to your MEDIA_PATH property.
7. To search HKEY_LOCAL_MACHINE in the registry, click the Root property, and then click vsdrrHKLM in the drop-down list box for the property value.
8. To search the SOFTWARE\Microsoft\Windows\CurrentVersion subkey, type SOFTWARE\Microsoft\Windows\CurrentVersion in the RegKey property value text box.
9. To search for the MediaPath value, type MediaPath in the Value property value text box.
Use the Retrieved Value to Change Your Installation Path
To change your installation path based on the value of your MediaPath property, change the value of the DefaultLocation property for your application folder. To do this, follow these steps:
1. Switch to the File System Editor.
2. Under File System on Target Machine, click Application Folder.
3. On the View menu, click Properties Window to select the Properties window for Application Folder.
4. To change your installation path based on the value of your MediaPath property, change the DefaultLocation property value to [MEDIA_PATH]\MyApp.
now its upto you how you want to identify your key .. as mediapath or something else what ever you need you can identify that in that way
but make sure to change accordingly
* here MEDIA_PATH is name of launch condition
and we are going to use that as default location in application folder as mention above
* make sure that MEDIA_PATH is name while mediapath is key of registry
|
|
|
|

|
Hi
thanx for your help.
I have resolved my second issue but still waiting to resolve 1st isuue that is
error Could not find file 'D:\master.mpg' 'Not enough storage is available to complete this operation..
I have more than 5 gb space in all drive..
Is there any other way to solve this.
thanx
|
|
|
|

|
try to add the video files again !!
it seems the path for video file is missing in disk
check the video file you added still exist on system
or explain me where you added the video files ?
waiting for reply !!
|
|
|
|

|
Hi
I have tried it again but getting same error.
My video file(1.3 gb) is in D drive .In my setup and deployment project
I have created custem folder name MPEG.After right click on this folder and selecting file option from pulldown menu. I am selecting master.mpg' from D drive and building it. I am getting same error but when i am adding video file (uptp 400 MB) it is working.
thanx
|
|
|
|

|
Hi,
I hv spended whole day to solve this issue but still getting same error.
I got some link where same problem.
http://social.msdn.microsoft.com/forums/en-US/msbuild/thread/059d2947-fea2-492f-a734-1b4c774408ce/
I hv done following step
Backup the boot.ini file. Then, put the /3GB switch in your boot.ini For more information on the /3GB option, please check the following article: Memory Support and Windows Operating Systems: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx
Make DEVENV large address aware.
Open up a VS 2005 command prompt
Change directory to the Microsoft Visual Studio 8\Common7\IDE directory.
Backup devenv.exe file.
Type and execute the following command line: "editbin /LARGEADDRESSAWARE devenv.exe"
Reboot Windows and Build.
but still getting same error.
2nd option
can it be possible not to include this file and only giving its path in set up. It pic this file and copy it in another gvn location.
thanx
|
|
|
|

|
Hi
Now i am doing it with another way.
I am creating exe file that will copy the content of folder on specified location but i want that this exe file will run using package but not exe file is part of package.
is it possible to do ?
if setup will call exe file automatic during installation then my work wiil be complete.
waiting for reply
thanx
|
|
|
|

|
hi
you can create vbscript and add it to custom action in install or in commit
to copy the file the script will carry out your task !!
|
|
|
|

|
hi
I have some content in MPEG folder on my DVD after burning it. Now i want that after installing DVD package on client machine. the content of MPEG folder will copy in specified folder like(xyz\MPEG\content) on client machine.
How i will do this?
thanx
|
|
|
|

|
Hi If you want to put your contant other than installation folder than you need to add the folder and set the default location to some existing path from drop down like commonfilefolder (i.e C:\Program Files\Common Files\) or fontfolder now in that drop down you can specify path like c:\ or c:\programm files or c:\temp but be sure that that folder should exist on system (always create = true works for child nodes not parent and the one you added is parent node ) now in that create another folder set always create = true add all your video files there , build set up and you done !! the summary as below - File System On Target Machine | |_ Application Folder | |_ User's Desktop | |_ User's Programs Menu | |_ Create New Folder Here* ! ( Set Default Location ) | |_ Create Inner Folder Here** !! ---> Add Video File in this folder * Always Create = True Not work for that node * Default location should already Exist on system ** Set Always Create = True always
|
|
|
|

|
hi
MPGE is not part of package .It is written on disk with setup file.
there are some subfolder and files in MPGE folder. Now i have to copy content of MPGE folder on client machine where MPGE folder is already exit..
thanx
|
|
|
|

|
Hi
I have created an installer. This size is around 10 GB.
Now I have to write this on DVD that will take more than one DVD.
I want that during installation after finishing one DVD it will ask for another one.
SO,what need to do?
HOPING FOR REPLY.
Thanks
|
|
|
|

|
Right click on your setup project select properties
You will get following fig1 as in article
now change Package files to In Cabinet File(s)
it will enable CAB Size Option
in custom give the size you need like for 1GB it will be 1048576 KB
Using Convertor[^]
so it will create files like SetupTitle1.Cab , SetupTitle2.Cab
,SetupTitle3.Cab and so on ..
now burn your cd using that cab file in sequence ..
when you start installation it will ask for not finding the next cabinet file at that time change the media and hit try again
* Note : this is not professional way as in professional setup we get such a nice prompt to change a media ,i will try for that and if i get it i will let you know
|
|
|
|

|
Hi,
It's nice to see your reply.
I have done whatever you suggested me.
After putting converted value in CABsize and build it.
I have nothing got like SetupTitle1.Cab , SetupTitle2.Cab
,SetupTitle3.Cab and so on .
Can you make it clear?
Thanx
|
|
|
|

|
have you get cab files ?
if yes than please post the names of them
you may not get it as SetupTitle1.Cab , SetupTitle2.Cab
,SetupTitle3.Cab
but you may get it as *1.cab,*2.cab ...
let me know what you get as cab files
|
|
|
|

|
hi,
sorry, I am getting .CAB ZIP file.After Extracting it i got more than 30 file naming like _08544BAF79024E86B75ADB615173BD56,_0AB7EE2741BC4DB99652D9A5329D6E74 and so on . Then what need to do next?
|
|
|
|

|
dont extract it , we need to write the cab file as it is to the dvd !!
but important is sequence
send me list of cab files !
|
|
|
|

|
Hi
Sorry for Late reply. Yesterday I was busy in Diwali fest.
I have following CAB file
Pix1.CAB , Pix2.CAB , Pix3.CAB , Pix4.CAB , Pix5.CAB , Pix6.CAB , Pix7.CAB and
setup.exe , pix.msi, some database support file and windows installer folder.
Do i need to write setup.exe , pix.msi, some database support file and windows installer folder.
in 1st DVD with CAB file?
Thanx
|
|
|
|

|
hi
now write all file in file (expect Pix1.CAB , Pix2.CAB , Pix3.CAB , Pix4.CAB , Pix5.CAB , Pix6.CAB , Pix7.CAB ) in dvd1 and if still you found space than
put cab file in squence to dvd
Pix1.CAB , Pix2.CAB , Pix3.CAB , Pix4.CAB , Pix5.CAB , Pix6.CAB , Pix7.CAB
and try to create image file using nero first and use magicdisk software to perform setup from that images you created using nero
if it is successful than burn that dvd images to DVD
Thank you !!
|
|
|
|

|
Hi
I have made an installer.Now i want to add registry.I got registry editor in Setup and deployment project where HKEY_CLASSES_ROOT , HKEY_CURRENT_USER , HKEY_LOCAL_MACHINE given. I don't know how to set registry.
Can you help me?
thanx
|
|
|
|

|
Now its upto you where you want to make entries
if you want to make entries in startup than u can make entries in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
for this
just export one of the key form that location and import it back to registry editor in visual studion so it will create all nesesory folders
you may have
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
Launches a program automatically when a particular user logs in. This key is used when you always want to launch a program when a particular user is using a system.
HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce
Launches a program the next time the user logs in and removes its value entry from the registry. This key is typically used by installation programs.
HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Launches a program automatically at system startup. This key is used when you always want to launch a program on a particular system.
HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce
Launches a program the next time the system starts and removes its value entry from the registry. This key is typically used by installation programs.
HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices
Launches a service (a standard NT service or a background process) automatically at startup. An example of a service is a Web server such as Microsoft Internet Information Server.
HKLM\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
Launches a service (a standard NT service or a background process) the next time the system is started, then removes its value entry from the registry.
so take appropriate with regards to your application
|
|
|
|

|
Hi
I have created setup project.I have added some folder
in Application folder. the problem is that when the folder is empty it is not showing after setup installation but when i am putting any
file in folder is showing the folder with file.
so how i will do it?
thanx
|
|
|
|

|
its just setting up a simple property called always create = true
to do that
go to application folder
select your created folder in setup project and press F4 ( OR GO TO PROPERTY WINDOW )
set always create true (form default false )
Thank you
|
|
|
|

|
Hi
thanx for reply.
Now it is working after setting always create = true .
thanx
|
|
|
|

|
Hi
How to install the third party prerequisites along with msi setup created using setup and deployment in vb.net.
Thanks in advance.
|
|
|
|
|
|

|
I want to make the user to choose install or not sql express on setup process.
how can I do this?
|
|
|
|
|
|

|
can anybody tell me how to add or validate .net framework and sql database file to setup project during creating a setup of an application. I want to create tables automatically during setup and also want to install .net framework during setup on any of other machine. please anybody help me. Thanks
kirti
|
|
|
|

|
thanks for your patient here is answer
when you add setup project to ur main project
go to that
now reach to launch condition editor in setup project
now you will found .NET Framework , select it
now see the properties
in which there is installurl set it to dotnetfx.exe
and after bulding ur setup put framework in same folder where ur setup is now in machine u r going to setup the s/w if .net framework is missing it will invock automatically
Njoy Coding !!
|
|
|
|
 |