Of course this is dependent on being able to specify the install location
in this section * { do the install on the D drive}*re-reading your first email sounds like you want to do this with everything. On Tue, Mar 31, 2015 at 10:18 PM, Paul Winstanley <[email protected]> wrote: > You could run some PowerShell > > *$driveexist = get-PsDrive | where-Object{$_.Name -like "d"}* > > *if ($driveexist -ne $NULL) { do the install on the D drive}* > *else {do the install on the C: drive}* > > > > On Tue, Mar 31, 2015 at 10:03 PM, Aday, Karalene B (RCIS) < > [email protected]> wrote: > >> We use app portal and I would rather not built 2 packages; one that >> installs on the c drive and one that installs on the d drive. Also I don’t >> want the user’s to have know which to request. >> >> >> >> I was looking for a script or a wrapper that I could build logic into so >> when the user’s request software they don’t need to know if they have a >> partition. The “script” would look for a partition if it’s there it would >> install on the d drive, if not it would install on the C drive. >> >> >> >> Maybe I’m not explaining what I am looking for very well….. >> >> >> >> *From:* [email protected] [mailto: >> [email protected]] *On Behalf Of *Jason Sandys >> *Sent:* Tuesday, March 31, 2015 3:35 PM >> *To:* [email protected] >> *Subject:* [mssms] RE: Ideas on determining where to install software >> >> >> >> Use two deployment types and a requirement that detects whether the D >> drive is present then. >> >> >> >> J >> >> >> >> *From:* [email protected] [ >> mailto:[email protected] <[email protected]>] *On >> Behalf Of *Aday, Karalene B (RCIS) >> *Sent:* Tuesday, March 31, 2015 3:09 PM >> *To:* [email protected] >> *Subject:* [mssms] RE: Ideas on determining where to install software >> >> >> >> It was a cooperate standard we had to follow that was finally done away >> with. Unfortunately way to many machines to redo, they will have to be >> phased out slowly over time. So for now we need to find a reasonable >> solution. >> >> >> >> *From:* [email protected] [ >> mailto:[email protected] <[email protected]>] *On >> Behalf Of *Jason Sandys >> *Sent:* Tuesday, March 31, 2015 2:36 PM >> *To:* [email protected] >> *Subject:* [mssms] RE: Ideas on determining where to install software >> >> >> >> Honestly, get rid of the systems with 2 partitions – they are pointless >> and cause issues. Non-standardization is the root of many/most issues in IT >> environments. >> >> >> >> J >> >> >> >> *From:* [email protected] [ >> mailto:[email protected] <[email protected]>] *On >> Behalf Of *Aday, Karalene B (RCIS) >> *Sent:* Tuesday, March 31, 2015 1:08 PM >> *To:* [email protected] >> *Subject:* [mssms] FW: Ideas on determining where to install software >> >> >> >> Looking for some ideas. We currently have Windows 7 and Windows 8.1 in >> our environment. Some of the Windows 8.1 have 2 partitions some do not. >> Rather than package everything twice I would like to come up with a script >> or some type of logic to determine if the partition is present and >> depending on that where to install the software. Any suggestions or does >> anyone have a script or something else I could look at to get some ideas? >> >> >> >> Thank you! >> >> >> >> >> >> >> >> >> >> >> >> >

