Hi everybody,

I use installshield 11.5 for windows and i would like to know if there is possible to know when the setup.exe starts if the computer has a drive c or d and so on !

is it possible with a custom action or others things!?

I've look in the documentation but i don't see anythings !
Have you got any idéa where i look or what can i do ?

Thanks
Christophe
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
It depends on what you are trying to do.

Are you trying to install the msi on a specific drive? i.e. C: or D: ?
If so you can set the ROOTDRIVE property to whatever drive you want to install the app on.
Answered 03/16/2007 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
0
Hi,

we d like to know just if there is a drive c:\ on the computer because we include msde in our package and msde create a log file at installation on the root c:\ !MSDE2K.LOG

of course if there isn't c:\ the installation failed !

in fact, we d like to check if there is a drive c:\ if no drive c:\ we thinh perhpas create a mapped drive just for the installation !

we have look if we suppress the creation of the log file of msde but NO !

Thanks
Christophe
Answered 03/16/2007 by: christopheOce
Senior Yellow Belt

Please log in to comment
0
Why is there not a C:\ drive?
Answered 03/16/2007 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
0
Re,

Some computer hasn't got a drive c:\ but just a d:\ !

I m not an administrator comptuer but we have a problem with some computer who hasn't got drive c:\ !

Problem problem :-)
Christophe
Answered 03/16/2007 by: christopheOce
Senior Yellow Belt

Please log in to comment
0
Custom VBScript action:

Dim sExists
Set fso = CreateObject("Scripting.FileSystemObject")
Set colDrives = fso.Drives

sExists = 0
For Each oDrive in colDrives
If UCase(oDrive.DriveLetter)= "C" Then sExists = 1
Next

Select Case sExists
Case 0 'C:\ DOES NOT exist... do something
Case 1 'C:\ EXISTS... do something
End Select
Answered 03/16/2007 by: cygnusx1
Orange Belt

Please log in to comment
0
Hi super installshield user :-)

thanks for your code !

i try this tonight or monday !

Thanks for all
Christophe
Answered 03/16/2007 by: christopheOce
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity