bphlpt Posted April 7, 2014 Posted April 7, 2014 Or possibly use a Photoshop installer that has been "litened", by having the VC runtimes removed? Cheers and Regards Quote
Kelsenellenelvian Posted April 7, 2014 Posted April 7, 2014 Hey ric? Could you make adjustments so I don't have the entries in the add remove area? That's allot of stuff personally I never need to see or bother with... TIA! Quote
SuperLOL Posted April 7, 2014 Posted April 7, 2014 (edited) The "problem" is not a problem and has nothing to do with this installer. Its photosop wanting to install the original vc10, it fails because there is a newer version installed, then it craps out... Other than removing the latest runtime and replacing it with rtm I cannot do anything about this, you will need to uninstall the latest, install photoshop, let it install older runtimes, uninstall those and re-run this installer with /aiX to ONLY install the vc10 runtimes Photoshop only tries to installs it's own VC10 if i'm using the AIO-Pack if i install the orginal Visual C++ 2010 SP1 than Photoshop won't try to install it's own VC10. Edited April 7, 2014 by SuperLOL Quote
ricktendo Posted April 7, 2014 Author Posted April 7, 2014 Test with this installer let me know if it still occurs http://ricktendo.info/Archive/vc2k10sp1x86.7z Quote
SuperLOL Posted April 8, 2014 Posted April 8, 2014 (edited) With this one i don't get any errors with Photoshop. Edited April 8, 2014 by SuperLOL Quote
ricktendo Posted April 8, 2014 Author Posted April 8, 2014 OK now I understand the cause of the error, it was because after I apply the MSP update to the MSI it changed the Package Code, if I change it back to what RTM had it photosop will attempt to install and it will simple do a repair install of the current installed vc2k10 (I do a similar thing with my .net packs) Updated dareckibmw 1 Quote
SuperLOL Posted April 8, 2014 Posted April 8, 2014 Did you do that with every VC version or only with VC10? Quote
ricktendo Posted April 8, 2014 Author Posted April 8, 2014 There is no need with the other ones, only vc10 has a MSP applied to it, the rest of the installers come updated SuperLOL 1 Quote
Kelsenellenelvian Posted April 8, 2014 Posted April 8, 2014 Hey ric? Could you make adjustments so I don't have the entries in the add remove area? Capture.PNG That's allot of stuff personally I never need to see or bother with... TIA!I think my post got skipped... Hey ric? Please? Quote
ricktendo Posted April 8, 2014 Author Posted April 8, 2014 @Kel, adding ARPSYSTEMCOMPONNENT=1 to the MSI Property hides the uninstall entries, this what you looking for? TRSyntax 1 Quote
ricktendo Posted April 8, 2014 Author Posted April 8, 2014 To unhide, got to the uninstall location in regedit and delete all the SystemComponnent reg values to show https://www.mediafire.com/?7ij6qrbdouewnc0 MD5: 7ef9f66f86d90f71b705814fa5b9ea9a TRSyntax 1 Quote
TRSyntax Posted April 13, 2014 Posted April 13, 2014 is there any easy way to have the installer keep the original uninstall display names for all entries added to control panels programs and features directory? Quote
Neo2x Posted April 14, 2014 Posted April 14, 2014 When installing on Windows 7 SP1 x64 I'm getting the following error on the 2005 and 2008 x64 / x86 libraries: "An error ocurred during the installation of assembly" For more details of the error, please see the attached filed. Quote
ricktendo Posted April 14, 2014 Author Posted April 14, 2014 That error happens if you try to install before you are fully logged in Quote
Neo2x Posted April 14, 2014 Posted April 14, 2014 (edited) In this case I was trying to install it on my fresh Windows 7 installation, but I forgot the silent /y and /gm2 switches, will it make any difference? If so, can't it be installed on Windows 7 fresh installations? I had other installer which worked fine, but didn't had the 2012 libraries your installer had. Only those 2 failed, the F#, J#, 2010, 2012 & 2013 libraries installed with no problems. Edited April 14, 2014 by Neo2x Quote
bphlpt Posted April 14, 2014 Posted April 14, 2014 Neo2x, if I understand correctly, I think Rick was asking exactly when, or by what means, are you triggering the installer? He explained that those errors occur when the install is attempted before log in has completed. Cheers and Regards Quote
ricktendo Posted April 14, 2014 Author Posted April 14, 2014 No, just telling him to run the installer AFTER he is fully logged in and Windows is up and running... Before this you will get that error with 2005/8 Quote
Neo2x Posted April 15, 2014 Posted April 15, 2014 (edited) Ok, I just want to know if there is any place your installer could work on a Windows 7 DVD. I just want to automate the install process. Edited April 15, 2014 by Neo2x Quote
RP1 Posted April 15, 2014 Posted April 15, 2014 Ok, I just want to know if there is any place your installer could work on a Windows 7 DVD. I just want to automate the install process. You can stick it in your autounattend.xml file. I do it like this: 1. Create the $OEM$ folder in the Windows source to dump the switchless into the %SystemRoot%\Temp folder, like so:(Windows installer source root)||-- $OEM$ | |-- $$ | |-- Temp2. Copy the switchless to "Temp". 3. Set up your autounattend.xml to do a "SynchronousCommand" under "FirstLogonCommands" in the "Microsoft-Windows-Shell-Setup" settings, "oobeSystem" pass. Here's a snippet from my autounattend.xml (Win7 Ultimate x64) using the VB/C++-only installer:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>%SystemRoot%\Temp\VBCRedist_AIO_x86_x64.exe /ai</CommandLine> <Description>Microsoft Visual B/C++ Redistributables (AIO)</Description> <Order>1</Order> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/win7dvd/grmculxfrer_en_dvd/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>You can run multiple commands as well if you only install certain components. For example, to do VC++ 2005 and 2008 only executing the /ai5 and /ai8 switches: <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>%SystemRoot%\Temp\VBCRedist_AIO_x86_x64.exe /ai5</CommandLine> <Description>Microsoft Visual C++ 2005 Redistributable</Description> <Order>1</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>%SystemRoot%\Temp\VBCRedist_AIO_x86_x64.exe /ai8</CommandLine> <Description>Microsoft Visual C++ 2008 Redistributable</Description> <Order>2</Order> </SynchronousCommand> </FirstLogonCommands>Add as many commands as you need, just bumping the "<Order>" number for each successive entry. Notes:-- You can change the install directory to whatever you want, so long as you put it in the proper $OEM$ folder structure. I chose Windows\Temp so the installer gets auto-deleted after use.-- It must go under the "oobeSystem" pass to launch after user creation, or else you'll get the same errors as before.-- Same method should work for most programs that have the same requirement of being run after user creation.-- There are probably other methods of doing it which other posters could elaborate, but this one has worked flawlessly for me with this particular switchless. And is good if you already use autounattend.xml and want to keep things nicely consolidated there.-- WSIM automates creation of autounattend.xml graphically if you don't want to deal with raw XML syntax. Download the Windows ADK from Microsoft (http://www.microsoft.com/en-us/download/details.aspx?id=30652) if you need that tool. Boskorp and killswitch667 2 Quote
Neo2x Posted April 16, 2014 Posted April 16, 2014 (edited) I did what you suggested, created the same autounattend.xml (on the root of my DVD) as the one on step 3 (only changed the switch to /y) but after Windows installation and restart it didn't do anything. The only thing I noticed was that the VBCRedist_AIO_x86_x64.exe ended up in c:\windows\temp as the $OEM$ folder structure indicated. Another thing I changed was the "cpi:offlineImage cpi:source" to: "wim:d:/sources/install.wim#Windows 7 ULTIMATE", but don't know what is the criteria for this property (my Windows is also Win 7 Ultimate x64). BTW I'm using WinToolkit to integrate updates and silent installers into Windows. Edited April 16, 2014 by Neo2x Quote
RP1 Posted April 16, 2014 Posted April 16, 2014 (edited) I did what you suggested, created the same autounattend.xml (on the root of my DVD) as the one on step 3 (only changed the switch to /y) but after Windows installation and restart it didn't do anything. The only thing I noticed was that the VBCRedist_AIO_x86_x64.exe ended up in c:\windows\temp as the $OEM$ folder structure indicated. Another thing I changed was the "cpi:offlineImage cpi:source" to: "wim:d:/sources/install.wim#Windows 7 ULTIMATE", but don't know what is the criteria for this property (my Windows is also Win 7 Ultimate x64). BTW I'm using WinToolkit to integrate updates and silent installers into Windows. The cpi:offlineimage line would be unique to your installation and what folder you use for building your image, so mine probably isn't applicable. Likewise, the syntax on the component name line can differ depending on whether you're doing an x86 or x64 image, and possibly by edition. I'd use WSIM or some other off-shelf autounattend.xml generator to set up a default file for your installation. Maybe just doing some placeholder setting in oobeSystem > Microsoft-Windows-Shell-Setup to make sure there's no syntax differences there, either. Then if you want to raw-edit the XML just template and build it out from there. If it's dropping the file in the correct $OEM$ folder you should be able to execute it with any switch as if it were a normal command line if set up as a FirstLogonCommands > SynchronousCommand execution. The only thing that does is time the execution after user creation when you're safely in the clear to install any of the packages in this switchless installer; what you execute and what command line switches you use are no different at that point than they'd be with any other standard means of integrating a switchless into Win7/8. I built mine in WSIM on Win7 Ultimate x64 as the first-and-only command in FirstLogonCommands, so I can confirm that method + the correct $OEM$ placement produces a working switchless installation. I don't use WinToolkit myself, opting instead for a combo of Windows Hotfixes Downloader for update/driver integration, WINNT True Integrator for addons and switchlesses, and WSIM/autounattend for settings and switchlesses with special post-logon requirements like this one. If you're having no luck you may want to try creating the autounattend file with WSIM--at least as far as setting up this installer--to produce a reliably working template before doing as you wish with the rest of your XML file via manual edit or adding/merging to it in some other program. That's the most fail-safe troubleshooter I can suggest, since I'm not terribly adept at writing or debugging XML by hand. Edited April 16, 2014 by RP1 Quote
TRSyntax Posted April 17, 2014 Posted April 17, 2014 (edited) you could also: put the vbcredist_aio_x86_x64.exe in "wim":\temp\vbcredist_aio_x86_x64.exe create "wim":\windows\setup\scripts\setupcomplete.cmd with this code in it:@echo offset startupcmd="%programdata%\microsoft\windows\start menu\programs\startup\runonce.cmd"> %startupcmd% echo @echo off>>%startupcmd% echo start /w "%systemroot%\temp\vbcredist_aio_x86_x64.exe /y">>%startupcmd% echo del /f /q %systemroot%\temp\vbcredist_aio_x86_x64.exe>>%startupcmd% echo del /f /q "%%~f0" 2^>nul ^& exit Edited April 17, 2014 by Profess0r1011000 Boskorp 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.