| | | Forum Newbie
       
Group: Forum Members Last Login: 1/11/2010 7:45:13 AM Posts: 6, Visits: 321 |
| | Hi all, after a lot of testing with my custom setup wich works really fine (just a lil bit modified with Orca) I tried to distribute it with PDeploy, and thats where I start to wonder... If i run my setup with a 'normal' Windows User pointing to the setup file, right click -> RunAs -> Domain\Admin & pwd its installed... and finally a new Desktop Icon appear -> all looks fine and ready to deploy. Just setup a simple Command Task locating the same setup.exe file using the same credentials for RunAs... and how good that I had tested it once more - just rollback my VPC PD didn't create the Desktop Icon @ my Desktop, I found it @ my root drive where it should't be, even the AppData Folder is now directly under my root drive the only correct thing are the program files nothing more. PTClient 7.1.3 / <German> Console 7.1.1.580 / <German> so anyone any Idea - whats going on? clueless cheers Michael |
| | | | 
Supreme Being
       
Group: Moderators Last Login: 2/12/2011 11:11:06 PM Posts: 742, Visits: 1,211 |
| Some questions: - Is your custom setup a .msi file?
- What command syntax are you using to install the custom setup?
- Is the command running when the machine is logged off? That might explain why the environment variables for desktop (and similar) are not resolved properly.
- Have you tried letting it run only when a user is logged in?
- What happens if you let the command run as current user instead of as the Run As user?
New Boundary Technologies Support support@newboundary.com |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 1/11/2010 7:45:13 AM Posts: 6, Visits: 321 |
| New Boundary Support (7/3/2007)
Some questions: - Is your custom setup a .msi file?
- What command syntax are you using to install the custom setup?
- Is the command running when the machine is logged off? That might explain why the environment variables for desktop (and similar) are not resolved properly.
- Have you tried letting it run only when a user is logged in?
- What happens if you let the command run as current user instead of as the Run As user?
Hi, in the end it's an msi file, invoked from a setup.exe created with Microsoft Office 2003 Resource Kit / Custom Installation Wizard. After creating this setup I modified the setup.ini Commandline CmdLine= PROGDIR=C:\lotusotes DATADIR=C:\Lotus\Notes\Data /qb /passive & changed with Orca the DesktopIcon. After running this setup as loggedOn Windows User (with nearly no rights) by using Explorer RunAs Domain\Admin everything is correctly Installed, and I added the Command-Task \\<server>\prism$\LN-Client655-ADMIN\NETINSTALL\setup.exe Is the command running when the machine is logged off? That might explain why the environment variables for desktop (and similar) are not resolved properly. I didn' notice that it is possible to invoke a task when no user is logged one -> so I always are logged on to keep an eye on this Installation. What happens if you let the command run as current user instead of as the Run As user? Setup abort and telling something about not enough rights. cheers Michael |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 1/11/2010 7:45:13 AM Posts: 6, Visits: 321 |
| Spawn (7/3/2007)
Hi all, after a lot of testing with my custom setup wich works really fine (just a lil bit modified with Orca) I tried to distribute it with PDeploy, and thats where I start to wonder... If i run my setup with a 'normal' Windows User pointing to the setup file, right click -> RunAs -> Domain\Admin & pwd its installed... and finally a new Desktop Icon appear -> all looks fine and ready to deploy. Just setup a simple Command Task locating the same setup.exe file using the same credentials for RunAs... and how good that I had tested it once more - just rollback my VPC PD didn't create the Desktop Icon @ my Desktop, I found it @ my root drive where it should't be, even the AppData Folder is now directly under my root drive the only correct thing are the program files nothing more. PTClient 7.1.3 / <German> Console 7.1.1.580 / <German> so anyone any Idea - whats going on? clueless cheers Michael k, nobody seems to got an Idea ... meanwhile I found some other 'strange' not working cases.... I made another setup file (not the same soft as above) working great Install with msiexec uninstall with msiexec /x and all with a simple PrismDeploy cmd Task.... then i made a lil mistake .. I overwrite the existing msi package with a newer Version... after all I can't uninstalled the existing one anymore, so I decide to install the new package -> after the prsim install cmd task run the version remains the same, until I went to the 1st client start - > run -> msiexec /fo xxxxx.msi /q the new version appears... so far so good ;o) and now I know what kind of prism task I should run to correct my mistake... but it won't work ... prism keep telling me Warning Error 1638 (0x666) / returncode 5200 and it ain't matter if I execute a pts or cmd as local user, Domain Admin, Local Admin or System. btw: I'm not sure but it looks like a bug, these kind of problem appears since we have had upgraded our Version from prism_suite_7.0.4.23_(de-ev-ok).exe -> prism_suite_7.1.1.580_(de-ev-ok).exe regards Michael |
| | | | 
Supreme Being
       
Group: Moderators Last Login: 2/12/2011 11:11:06 PM Posts: 742, Visits: 1,211 |
| The 1638 error is a Windows Installer error meaning that another version of the product is already installed. If the /fo works on the Run line, it should work as a command task. Try putting the commands for this and the earlier issue into a batch file. Then push out the batch file as a command task. Let us know how that goes.
New Boundary Technologies Support support@newboundary.com |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 1/11/2010 7:45:13 AM Posts: 6, Visits: 321 |
| New Boundary Support (7/5/2007) The 1638 error is a Windows Installer error meaning that another version of the product is already installed. If the /fo works on the Run line, it should work as a command task. Try putting the commands for this and the earlier issue into a batch file. Then push out the batch file as a command task. Let us know how that goes.
Hi,
It won't get better but take a look
I had done what you suggested..
I added the task into a cmd file and distribute it, befor it lauches the install cmd I added
SET >> C:\SET.log.... heres the result (keep an eye @ USERPROFILE, APPDATA, HOME & USER stuff)
don't know whats going on but I execute the task as DOMAIN\Administrator not as LocalService. (see attached jpg)
ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
CommonProgramFiles=C:\Programme\Gemeinsame Dateien
COMPUTERNAME=XXXX
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0401
ProgramFiles=C:\Programme
PROMPT=$P$G
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
USERPROFILE=C:\Dokumente und Einstellungen\LocalService
windir=C:\WINDOWS
'The Windows Logged-On user got this environment:
ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
APPDATA=C:\Dokumente und Einstellungen\myUser\Anwendungsdaten
CommonProgramFiles=C:\Programme\Gemeinsame Dateien
COMPUTERNAME=ATVMTEST1
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=Y:
HOMEPATH=\
HOMESHARE=\\\myUser$
LOGONSERVER=\\
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0401
ProgramFiles=C:\Programme
PROMPT=$P$G
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOKUME~1\\LOKALE~1\Temp
TMP=C:\DOKUME~1\\LOKALE~1\Temp
USERDNSDOMAIN=DNS
USERDOMAIN=DOMAIN
USERNAME=myUser
USERPROFILE=C:\Dokumente und Einstellungen\myUser
windir=C:\WINDOWS
regards,
Michael
|
| | | | 
Supreme Being
       
Group: Moderators Last Login: 2/12/2011 11:11:06 PM Posts: 742, Visits: 1,211 |
| | It looks like you are running into an issue with the way that the Prism Run As is implemented. The Prism Run As is used for file access and permissions for the command to run under. It does not load the entire specified user's environment. That's why you are seeing different variables when to specify (or not) a Run As user. Does the command fail if you run it as the current user? If so, have you tried creating a package of the changes that you are making with the MSI? I'll add your scenario to the feature change item we have regarding the Run As.
New Boundary Technologies Support support@newboundary.com |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 1/11/2010 7:45:13 AM Posts: 6, Visits: 321 |
| New Boundary Support (7/6/2007)
It looks like you are running into an issue with the way that the Prism Run As is implemented. The Prism Run As is used for file access and permissions for the command to run under. It does not load the entire specified user's environment. That's why you are seeing different variables when to specify (or not) a Run As user. Does the command fail if you run it as the current user? If so, have you tried creating a package of the changes that you are making with the MSI? I'll add your scenario to the feature change item we have regarding the Run As. ok, you got point. I didn't expect that CU-Install will work... but it does. Cheers, Michael |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 1/11/2010 7:45:13 AM Posts: 6, Visits: 321 |
| ok, you got point. I didn't expect that CU-Install will work... but it does. Cheers, Michael Hi once more It didn't work, my mistake just because I played too much and didn' t remind my custom.exe file wich start up & execute the setup as Administrator. Sorry my fault. I had removed the my stuff from the command and just let prism deploy run the right setup.exe as current user, and it fails :-( It looks like a little deadlock. I don't want to use a Package just because I like to Update a specific Version, and the newer Notes Version get rid of some files, so I don't need them on my Clients HD anymore, if I would use a package I cannot ensure that these files get removed. Any Idea how to handle this? regards, Michael |
| | | | 
Supreme Being
       
Group: Moderators Last Login: 2/12/2011 11:11:06 PM Posts: 742, Visits: 1,211 |
| | Our recommendation is to create two MSI packages for this deployment instead of one. One package would contain the user-specific information (desktop shortcuts, HKey_Current_User registry entries, per-user documents, etc.). The other MSI package would contain the system-wide information and would have no user-specific environment variables. You could then assign the user MSI package to run as current user (and perhaps run once for each user who logs in). The machine MSI package could be assigned to run once per machine and to run as an admin-level user. Let us know how this works for you.
New Boundary Technologies Support support@newboundary.com |
| |
|
|