Change InstallDir location through WPS
Hi all
I'm creating an msi for one software call ADAM. This software require client machine to run the .exe file on the Server through an mapped network drive. The short cut has Target is O:\Adam\achper.exe and Start in have to be O:\ADAM. But well i take a second snapshot and deploy it through GPO, in "Start in" change from O:\ADAM to C:\ADAM. I open the package through Wise and in Directory table i saw the InstallDir = ADAM. I change it to O:\ADAM and save it. But then i'm not able to push it out through GPO due to error.
I really need help on how to change that Directory location from C:\Adam to O:\Adam through Wise Package Studio.
My O:\ was mapped to \\Server\Shared\
Thanks in advance.
Enz
I'm creating an msi for one software call ADAM. This software require client machine to run the .exe file on the Server through an mapped network drive. The short cut has Target is O:\Adam\achper.exe and Start in have to be O:\ADAM. But well i take a second snapshot and deploy it through GPO, in "Start in" change from O:\ADAM to C:\ADAM. I open the package through Wise and in Directory table i saw the InstallDir = ADAM. I change it to O:\ADAM and save it. But then i'm not able to push it out through GPO due to error.
I really need help on how to change that Directory location from C:\Adam to O:\Adam through Wise Package Studio.
My O:\ was mapped to \\Server\Shared\
Thanks in advance.
Enz
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
AngelD
16 years ago
Posted by:
anonymous_9363
16 years ago
Posted by:
AngelD
16 years ago
Posted by:
Mackan75
16 years ago
Posted by:
AngelD
16 years ago
Hi Marcus!
If I recall correct from previous experience [;)]
As the exe file is located on a network and when the shortcut is created by the CreateShortcuts action which is run in system context this account does not have network access or access to the mapped drives and will therefore fail.
For a local file using a property for the shortcut target should not be any problem except for that it will not create an advertised shortcut.
If I recall correct from previous experience [;)]
As the exe file is located on a network and when the shortcut is created by the CreateShortcuts action which is run in system context this account does not have network access or access to the mapped drives and will therefore fail.
For a local file using a property for the shortcut target should not be any problem except for that it will not create an advertised shortcut.
Posted by:
Mackan75
16 years ago
Posted by:
enzogoy
16 years ago
Thank you very much for those quick responses and really show me the way to solve my problem. The shortcut is working now but i have a different problem. [;)]
It actually installs but when I uninstalled it, the shortcut still there. I get into the script where the installation sequence are and put this in:
If Installed then
Run WiseScript From Installation [WiseCustomActionPath] InstallScript.exe (Action)
End
If Uninstalled then
Run WiseScript From Installation [WiseCustomActionPath] UninstallScript.exe (Action)
End
But the above things didn't work at all. Not even install the shortcut. Did i do something wrong for the if statement?
enz
It actually installs but when I uninstalled it, the shortcut still there. I get into the script where the installation sequence are and put this in:
If Installed then
Run WiseScript From Installation [WiseCustomActionPath] InstallScript.exe (Action)
End
If Uninstalled then
Run WiseScript From Installation [WiseCustomActionPath] UninstallScript.exe (Action)
End
But the above things didn't work at all. Not even install the shortcut. Did i do something wrong for the if statement?
enz
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.