Hey folks,
I'm trying to install a sort of weird app with wine and having issues.
In Winblows, the command I'm trying to run looks like this:
"\\mappednetworkdrivepath\aproposinstall\Winstall\Winstl32.exe \\mappednetworkdrivepath\aproposinstall\winstall\apr6x_LocalLinkClients.lst /NoNetwork"
I've tried different combinations with wine unsuccessfully. The winstaller cannot find the lst file and cannot proceed.
Any help/suggestions would be much appreciated, thanks!
P.S. I have the UNC path mentioned above mounted with samba to /mnt/apropos/ on ubuntu hardy.
passing parameters to winstall
Re: passing parameters to winstall
Don't use UNC paths with Wine. Map each share to each drive in winecfg. Then use fill local path starting with that drive. Of course you have to quote everything containing back-slashes.anystupidname wrote:"\\mappednetworkdrivepath\aproposinstall\Winstall\Winstl32.exe \\mappednetworkdrivepath\aproposinstall\winstall\apr6x_LocalLinkClients.lst /NoNetwork"
-
- Level 1
- Posts: 8
- Joined: Thu Apr 09, 2009 9:34 am
Thanks for the reply. I was not trying to use the actual UNC paths. I was trying things like this:
wine "/mnt/apropos/Winstall/Winstl32.exe" "/mnt/apropos/Winstall/apr6x_LocalLinkClients.lst" "/NoNetwork"
In case others make this newb mistake:
I mapped "/mnt/apropos" to "D:" in winecfg per your suggestion and ran this:
wine "D:\Winstall\Winstl32.exe" "D:\Winstall\apr6x_LocalLinkClients.lst" "/NoNetwork"
which worked! It installed and placed a shortcut on the desktop.
Now it looks like the program launcher isn't cooperating:
http://forum.winehq.org/viewtopic.php?p=22960#22960
wine "/mnt/apropos/Winstall/Winstl32.exe" "/mnt/apropos/Winstall/apr6x_LocalLinkClients.lst" "/NoNetwork"
In case others make this newb mistake:
I mapped "/mnt/apropos" to "D:" in winecfg per your suggestion and ran this:
wine "D:\Winstall\Winstl32.exe" "D:\Winstall\apr6x_LocalLinkClients.lst" "/NoNetwork"
which worked! It installed and placed a shortcut on the desktop.
Now it looks like the program launcher isn't cooperating:
http://forum.winehq.org/viewtopic.php?p=22960#22960
Unless your program can magically figure out it's running on Wine and translate *NIX paths into windows paths using special Wine functions, you have to pass windows paths to your program.anystupidname wrote:Thanks for the reply. I was not trying to use the actual UNC paths. I was trying things like this:
wine "/mnt/apropos/Winstall/Winstl32.exe" "/mnt/apropos/Winstall/apr6x_LocalLinkClients.lst" "/NoNetwork"
Also, unless this is wine-1.1.19+ DO NOT use *NIX paths to start programs either: http://wiki.winehq.org/FAQ#head-8d8c06c ... 5c730566e0